We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › Memory optimisation
Page Index Toggle Pages: 1
Memory optimisation (Read 618 times)
Memory optimisation
Nov 17th, 2006, 9:04am
 
I need to reduce the memory requirements of an existing charting application. Presently 50-90% memory of the application is being used by Processing classes depending on the data size.  
we are using core-110.jar. PGraphics2, PGraphics3 and PFont are consuming sizeable amount of memory.

I want to know if there are 'memory optimum' methods that can substitute for 'memory hungary' methods.
Some methods that we are using frequently are 'drawLabels, drawGrids, drawSubGrids, drawAxis,line, rect.

Is drawing some shapes(ellipse,polygon,circle) more optimal than others?

Have memory requirements been reduced in subsequent version of core.jar. I went through the release notes. But that does not seem to suggest that.
Page Index Toggle Pages: 1