I’m working on a reporting application using PaperVision2 and have just noticed a memory leak which is either my fault or that of PV.
Have a look here:
PaperVision 2 Charting Demo
If i navigate the scene using the z,x,c,v,b and arrow keys the memory usage continuously increases until i drill down into another data set (by clicking a bar within the graph). I’m using a custom destroy function to fix this here (and it works) but only when i clean out absolutely everything… is that right? All that’s happening in this context is the camera is moving then pv is re-rendering.
I found this post over at Seb Lee-Delisle’s blog so i’ve updated my PV source and revised my code but it doesn’t make any difference.
Anyone got any suggestions please?
UPDATE: I managed to fix this so there is no longer a memory leak!