Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Processing 2.0b8 / Disposing PGraphics objects and memory management

$
0
0

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



Viewing all articles
Browse latest Browse all 1768

Trending Articles