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 & HelpSyntax Questions › Heap Space with Export Application
Page Index Toggle Pages: 1
Heap Space with Export Application (Read 343 times)
Heap Space with Export Application
Jun 3rd, 2008, 5:06pm
 
Hello,

I have a program that draws to a high-resolution PGraphics screen which works fine in processing (with the available memory in preferences set to 1gb)

When I select Export Application, the exporting works fine. However when I then start the program I get a "heap space" error in the console.

Is there a way to allocate more memory to the application that I am exporting?

Thanks!

Re: Heap Space with Export Application
Reply #1 - Jun 3rd, 2008, 5:22pm
 
it should be doing this already.. at least on windows maybe? what platform are you using? (wonder if i neglected to add it for osx...) if so, please file a bug report and i'll get it fixed soon.
Re: Heap Space with Export Application
Reply #2 - Jun 3rd, 2008, 5:29pm
 
Yes I'm using OSX.
I just got it to work;
I selected the file and then "show package contents" in the finder.
In the Info.plist file I'm able to specify the memory (using -xmx, -xms)

Would be great if this would happen automatically. Will file a bug report if you'd like.
Re: Heap Space with Export Application
Reply #3 - Jun 3rd, 2008, 7:03pm
 
yes, please do and i'll get it fixed shortly.
Page Index Toggle Pages: 1