openjdk,icedtea - Xmx option mandatory
Andrew Haley
aph at redhat.com
Mon Aug 11 02:03:51 PDT 2008
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