"-client" option
Andrew Haley
aph at redhat.com
Mon Jan 10 08:18:15 PST 2011
On 01/10/2011 04:09 PM, Zhu Han wrote:
> Does "-client" options work for IcedTea JDK?
It depends on the target. 32-bit x86 yes, 64-bit x86, no.
> Or, is there any way to limit the address space consumed by a single JVM
> instance? The target box does not have swap space, so I'd like to limit the
> anonymous space consumed by the JVM as little as possible. Even if I set
> "-Xmx96M", the jvm consumes 640MB memory space.
Does it really consume that space, or does it merely pre-allocate that
much address space? I think it's probably the latter.
But 640M really is a lot. Is your -Xms setting 96M too?
When I tried running x86 Java with no options, I got a RSS of
12m, not 640M. What are you measuing?
Andrew.
By the way, the JVM is
> 64bit.
>
> Thank you so much!!
>
> best regards,
> hanzhu
>
More information about the distro-pkg-dev
mailing list