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 › increasing heap space in eclipse
Page Index Toggle Pages: 1
increasing heap space in eclipse (Read 1297 times)
increasing heap space in eclipse
Jan 26th, 2009, 11:11pm
 
Hi, i have an application where im getting some java heap space errors.

how can i increase the heap space in eclipse?
and is there a way to do so and still use the p5exporter?

thanks

Rui
Re: increasing heap space in eclipse
Reply #1 - May 17th, 2009, 9:40pm
 
You can add the following option to the run-configuration (Run->Run...->Arguments->VM-Arguments):

 -Xmx###m  

where ### represents the max memory size you want to allocate (in MBs), so -Xmx512m will let you use up to 512m of memory.

The p5Exporter (http://www.rednoise.org/EclipseP5Exporter/) should pick this up (assuming you're exporting an application) and use that setting (along with any other VM-arguments) for the application bundle...

-dch
Page Index Toggle Pages: 1