Skip to content

Insufficient Memory Error with VisionIOPhotonVision.java #39

@noahkr07

Description

@noahkr07

When Photon Vision is enabled, a few seconds after recognizing an april tag the code crashes and throws the following insufficient memory error:

OpenJDK Client VM warning: INFO: os::commit_memory(0xacc90000, 65536, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 65536 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmp/hs_err_pid15731.log

I believe that it is caused by line 95 of "VisionIOPhotonVision.java":

var tagPose = aprilTagLayout.getTagPose(target.fiducialId);

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions