openjdk,icedtea - Xmx option mandatory

Andrew Haley aph at redhat.com
Mon Aug 11 03:07:19 PDT 2008


Please don't top-post.  It's very confusing.

Roberto Mannai wrote:
> I'd like to know why does not work, too - so by now I'm not going to
> resize the swap (it would be easier to reinstall the SUN jvm :)

Huh?  Adding swap can be done in less than 30s, unless you have no
disk space.

> In your opinion could be related to a change in the default Xmx value?

Certainly.

> What were the reasons for such a change, if I can ask?

You can ask, but I don't know the answer.

Andrew.


> On 8/11/08, Andrew Haley <aph at redhat.com> wrote:
>> Roberto Mannai wrote:
>>> linux:~ # free -m
>>>             total       used       free     shared    buffers     cached
>>> Mem:           503        495          7          0         63        183
>>> -/+ buffers/cache:        248        254
>>> Swap:          127          0        127
>>>
>>> The SWAP is 127 mb.
>> Ouch.  Now I'm starting to understand perhaps why you're the person having
>> the problems.
>>
>>> Now, in general should be the -Xms option the
>>> setting for the initial size.
>>>
>>> The point is that the java-1.6.0-sun works out of the box, the openjdk
>>> crashes in the same hardware.
>> Sure, but we still don't know *why* it does.  This may be a real problem with
>> the Generic OpenJDK, or it may just be that it can never work on a setup such
>> as yours.  IMO it should work, though.  512mb, although small for a current
>> machine, isn't so very small.  It might be that your machine's capacity is
>> being detected incorrectly.  The only way to find out is to debug.
>>
>> Either that, or you could just fix your swap and forget about it.
>>
>> Andrew.
>>




More information about the distro-pkg-dev mailing list