openjdk,icedtea - Xmx option mandatory

Andrew Haley aph at redhat.com
Mon Aug 4 05:26:24 PDT 2008


Roberto Mannai wrote:
> My system has 512 mb of RAM, on a 32 bit processor.
> 
> If I try to set the Xms option, java complains it is larger than max
> size, so in my opinion the jvm does not allocate any default xmx
> parameter.
> 
> The error is:
> "Could not reserve enough space for object heap''
> 
> The same message occurs also with java-1_6_0-openjdk.

Maybe a limits problem?  What does

 ulimit -a

say?

> On 8/4/08, Andrew Haley <aph at redhat.com> wrote:
>> Roberto Mannai wrote:
>>
>>> For a test I've just installed:
>>> java-1_7_0-icedtea
>>> on my opensuse11 box.
>>>
>>> "java -version" command crashes with an error. In order to work, I
>>> must use the  -Xmx option, also with 1m:
>>>
>>> java -Xmx1m -version
>>>
>>> Any reason for it? Is it a bug?
>> It must be.  How much memory have you got?
>>
>> Andrew.
>>




More information about the distro-pkg-dev mailing list