"-client" option

Andrew Haley aph at redhat.com
Tue Jan 11 02:57:11 PST 2011


Please don't top-post, it's very confusing.

On 01/11/2011 02:42 AM, Zhu Han wrote:
> Thank you for your response.
>
> My testing platform is 64 bit X86. The things on X86 platform may be better.

Mine is 64-bit too.

> 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.

But these regions are mapped as MAP_NORESERVE, so it shouldn't matter.

> This may be failed because of lack of swap space to backup address space.

OK, so now I understand what the real problem is.

I'm assuming Linux.

I don't understand why this is happening.  I wonder if you have some
odd setting.

What is /proc/sys/vm/overcommit_memory?  /proc/sys/vm/overcommit_ratio?

/proc/meminfo ?

Andrew.



More information about the distro-pkg-dev mailing list