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 & HelpPrograms › loading very big jpg - A1 @ 300dpi
Page Index Toggle Pages: 1
loading very big jpg - A1 @ 300dpi (Read 882 times)
loading very big jpg - A1 @ 300dpi
May 3rd, 2010, 6:46am
 
Hi,

Is it possible to load very big jpg file into processing ?
In this case it's A1 300dpi sized file ( 7016x9930 ).

I'm getting out of memory erros when I'm trying
to instantiate a file. On the other hand, when I'm increasing
max memory in processing prefs above ~2000 MB ( i have 8GB of physical memory installed ) I'm getting following error:

"Could not run the sketch (Target VM failed to initialize).
Make sure that you haven't set the maximum available memory too high."

Any ideas how to approach this problem ?
Thanks for any help!


Re: loading very big jpg - A1 @ 300dpi
Reply #1 - May 3rd, 2010, 6:59am
 
The memory increase thread might be relevant. Basically, you might need a 64bit Java, if I understood correctly.
See also The truth about JVM max memory usage. Does it use only 2gb and ImageJ: Windows Installation.
Re: loading very big jpg - A1 @ 300dpi
Reply #2 - May 7th, 2010, 5:26am
 
Hi,

Thanks for suggestions Smiley
(btw. there is something wrong with notifications on this forum :/ )

Cheers Smiley!
Page Index Toggle Pages: 1