I'm working on a sketch that uses some PGraphics object as buffers that I draw on the screen with the image() method.
My problem is that I've noticed a huge memory leak, 99% due to this buffers not being destroyed properly.
Is there any way to get rid of this objects to free some memory up? I looked on the docs of the old GLGS library and I've tried with the dispose() method, but it doesn't look to have any effect. Any suggestion would be appreciated. Thanks