Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Softwaretools > Re: Unexpected ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 3182 of 3276
Post > Topic >>

Re: Unexpected limitation for maximum heap size

by Nigel Wade <nmw@[EMAIL PROTECTED] > Mar 10, 2008 at 04:25 PM

Markus Elfring wrote:

> Hello,
> 
> I would like to share a specific experience.
> 
> I have got a computer with 2 GB main memory for a dual core processor. I
have 
> tried a bit fine-tuning of start parameters for Java virtual machines.
The 
> settings "-J-Xss81m -J-Xms364m -J-XX:PermSize=41m -J-XX:MaxPermSize=400m

> -J-XX:+UseParallelGC" are in my file
"/usr/local/netbeans/6.0.1/etc/netbeans.conf".
> 
> I'd like to point out that I get the following error message if I use
the 
> parameter "-J-Xms365m".
> Error occurred during initialization of VM
> Incompatible initial and maximum heap sizes specified
> 
> I find this size limitation interesting because my hardware has got the
capacity 
> to provide higher memory values to virtual machines. Is only the
software 
> development environment "NetBeans 6.0.1" affected?
> 

The flag -Xms sets the initial heap size. I don't know what maximum heap
size is
set by default in your installation, but presumably it is less than the
initial
heap size you have requested.

-- 
Nigel Wade, System Administrator, Space Plasma Physics Group,
            University of Leicester, Leicester, LE1 7RH, UK 
E-mail :    nmw@[EMAIL PROTECTED]
 
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555
 




 5 Posts in Topic:
Unexpected limitation for maximum heap size
Markus Elfring <Markus  2008-03-10 17:10:49 
Re: Unexpected limitation for maximum heap size
Nigel Wade <nmw@[EMAIL  2008-03-10 16:25:59 
Re: Unexpected limitation for maximum heap size
Thomas Schodt <spamtra  2008-03-10 16:28:10 
Re: Adjustment of maximum heap size
Markus Elfring <Markus  2008-03-10 17:58:34 
Re: Unexpected limitation for maximum heap size
Roedy Green <see_websi  2008-03-11 01:17:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 14:01:09 CDT 2008.