schumi.han at gmail.com
Mon Jan 10 18:42:56 PST 2011
Thank you for your response.
My testing platform is 64 bit X86. The things on X86 platform may be better.
640MB is just the pre-allocated address space size, half of them are
anonymous mmap region. RSS is just around 48MB. I want to control the
total size of address space because the JVM process spawns several
sub-process to execute some scripts provided by OS occasionally. I know this
is not portable, but seems like there is no better way to open a URL in
standalone browser from a java application.
This may be failed because of lack of swap space to backup address space.
This is desktop oriented java application. Do you have any suggestion on it?
Or is there any way for me to limit the address space of process forked by
On Tue, Jan 11, 2011 at 12:18 AM, Andrew Haley <aph at redhat.com> wrote:
> 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
>> 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?
> By the way, the JVM is
>> Thank you so much!!
>> best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the distro-pkg-dev