NetBSD-Java archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: JDK/JRE 6 on NetBSD 3.1... should this work



On 2/1/09, Geert Hendrickx <ghen%telenet.be@localhost> wrote:
> The funny thing is, on my amd64 system with 4Gb RAM, java won't start
>  without (vastly) increasing the datasize limit, however, when I boot
>  the same system as a Xen dom0 with only 2Gb RAM, the same java binary
>  starts up fine with the default ulimits.  Is this expected behaviour?
>

Not sure.  I think java uses available memory to calculate some parts
of the jvm memory system.

Try starting it on the big memory box with memory limits and see if it
recalculates the heaps based on that.  (-Xms and -Xmx of 512M or
something)  If you can figure out which part of the memory system is
overflowing, you could try limiting just that.

Keep in informed,
Matt


Home | Main Index | Thread Index | Old Index