-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Description
TLDR; the leakDetection() in OpenCvPipeline.java is not quite correct, the garbage collection offset calculation is wrong.
We found during our competition last weekend, this memory leak warning came up while sitting in init() for exceptionally long times. Today I let it sit for about 25 minutes, and it claimed over 20GB of RAM was leaked. I believe the Control Hubs only have 1GB of RAM, so there's no way this is possible.
Looking at the Profiler in Android Studio shows the garbage collector is actually doing its job, and never exceeding ~400MB.
So looks like the garbage collection offset in that code is not correct, needs to be updated.
Metadata
Metadata
Assignees
Labels
No labels

