Re: Getting starnge memory error
- From: markspace <nospam@xxxxxxxxxxx>
- Date: Fri, 19 Jun 2009 19:29:47 -0700
zigzagdna wrote:
Is 2GB limit for all the java processes comvined or for each java
process. I know in Windows 32 bit, it is combine dmemory of all java
On Windows, it's per process. Each process can have about 1.6 G of memory, and they won't fill up memory. (Each process will get swapped out to disk though. That's what virtual memory does.)
I don't know HP-UX but I don't see why it would be different.
I am using default parameters of java, i.e., simply using java
command.
The default parameter is -Xmx64M, at least under Win32. That's really small. You might try passing in -Xmx1G (not much more under Win32, the JVM needs some space too) and see what happens. Your limit is likely to be much higher on a 64 bit os -- I'd try some very large values just to see what happens.
.
- Follow-Ups:
- Re: Getting starnge memory error
- From: zigzagdna
- Re: Getting starnge memory error
- References:
- Getting starnge memory error
- From: zigzagdna
- Re: Getting starnge memory error
- From: Qu0ll
- Re: Getting starnge memory error
- From: zigzagdna
- Getting starnge memory error
- Prev by Date: 'Unrestricted' option of the AppletViewer.
- Next by Date: Re: Getting starnge memory error
- Previous by thread: Re: Getting starnge memory error
- Next by thread: Re: Getting starnge memory error
- Index(es):
Relevant Pages
|