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

Re: [ajug-members]: Increasing JVM heap beyond 1.3GB in Win2K



On Mar 3, 2004, at 6:50 AM, Cal Watson wrote:

>
> --- Barry Hawkins <ly5t5@allthingscomputed.com> wrote:
>> List,
>> 	Has anyone successfully managed to get a JVM heap
>> size on Windows 2000
>> using the Sun 1.4.2 JVM?  Our team has a web app in
>>
[...]
>
> Barry
> There is a bug in 1.4.2 where the JVM can't expand the
> heap if all the memory is completely allocated and
> there is no swap space available.  You might want to
> try increasing the disk space allocated for virtual
> memory.
>
> here is the info I found on Sun's Website:
> The Java HotSpot VM cannot expand its heap size if
> memory is completely allocated and no swap space is
> available. This can occur, for example, when several
> applications are running simultaneously. When this
> happens, the VM will exit after printing a message
> similar to the following.
>
>    Exception java.lang.OutOfMemoryError: requested
> <size> bytes
>
> If you see this symptom, consider increasing the
> available swap space by allocating more of your disk
> for virtual memory and/or by limiting the number of
> applications you run simultaneously. You may also be
> able to avoid this problem by setting the command-line
> flags -Xmx and -Xms to the same value to prevent the
> VM from trying to expand the heap. Note that simply
> increasing the value of -Xmx will not help when no
> swap space is available.
>
> This issue is being tracked in bug 4697804.
>
>
> I don't know if this helps at all but I figured it
> couldn't hurt.  Let me know how it goes.
>
> Cal
>
Cal,
	Thanks much.  I will check out that bug #.

Regards,
-- 
Barry C. Hawkins
All Things Computed
site: www.allthingscomputed.com
weblog: www.yepthatsme.com