Login  Register

Re: Problems running ImageJ on 64x WinXP with max mem set to 6 GB

Posted by Stephan Preibisch on Jun 02, 2008; 6:25pm
URL: http://imagej.273.s1.nabble.com/Problems-running-ImageJ-on-64x-WinXP-with-max-mem-set-to-6-GB-tp3696088p3696089.html

Hi Shawn,

actually this is a problem I faced myself before as I have 24GB on my
machine. In all current 64 Bit Java implementations there seems to be a
problem when using more than 13,7GB of RAM.

On the Tudor website they suggest:
-XmxNg -XX:+AggressiveHeap

However this did not work out above the mentionned 13,7GB. Java does not
complain but never allocates more than that, at least on two machines in
our institute (the 24GB Win64/Ubuntu64) and 16GB Mac.

I was able to solve this issue by using the following commands:
-server -Xms23500M -Xmx23500M -XX:+AggressiveHeap

Hope this helps,
Stephan

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
Shawn Mikula
Sent: Monday, June 02, 2008 1:38 PM
To: [hidden email]
Subject: Problems running ImageJ on 64x WinXP with max mem set to 6 GB

hello ImageJ community,
this email may be better addressed to a Java mailing list, but hopefully
someone here can help me out...  To use ImageJ with images of several GB's
in size, I have tried installing the 64x JRE (v1.6) on a 64x WinXP system
with 16 GB RAM, but when I use ImageJ with Xmx option set to 6 GB, I am
receiving a "Could not create the Java virtual machine" error and early
termination of ImageJ.  Has anyone used ImageJ on 64x WinXP systems
successfully using multi-GB size images?  Does anyone have any ideas why
Java is not able to create the Java virtual machine?
thanks.
Shawn



--
Shawn Mikula, Ph.D.,
Center for Neuroscience
University of California-Davis,
1544 Newton Court,
Davis, CA 95618,
Phone: 530-754-9209
Fax: 530-754-9136
mail: [hidden email]
web: http://brainmaps.org