Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Changing JVM heap size

5 views
Skip to first unread message

Oleg Konovalov

unread,
Jul 9, 2004, 6:01:57 PM7/9/04
to
Hi,

I am running applets in Java Plug-in 1.4.2 under IE6
and often receive OutOfMemory exceptions
(dealing with large file - video clips, etc.)
although according to option M, almost 50% (out of 64MB) of memory is
available.

If I start playing with Java Runtime parameters, like setting it to
mx128m, it actualy decreases the heap size:
Memory: 8,904K Free: 2,630K (29%) ... completed.

Is there a way to increase it to 128 or 256 MB ?

Have 2GB of RAM.

Thank you in advance,
Oleg.

Dave

unread,
Jul 31, 2004, 9:48:08 PM7/31/04
to
In article <ccn5b0$hk...@news.sarnoff.com>,
"Oleg Konovalov" <ole...@yahoo.com> wrote:

Hey Oleg!

I think you have been looking in the wrong place...

In Windows, the applet heap size is determined by the Java Plug-in. So
you have to adjust it in the Java Plug-in Control Panel.

"On Windows: From the Windows Control Panel, double-click the Java
coffee-cup icon labeled Java Plug-in to launch the Java Plug-in Control
Panel."


shankar.unni says...

"You *can* set (the heap size) for the entire VM that's loaded in the
(web) browser, by using the 'Java Plug-In Control Panel'. Under the
'Advanced' tab, there's a box for 'Java runtime parameters'."

http://forum.java.sun.com/thread.jsp?thread=523105&forum=37&message=25046
09


"To increase the heap size to 64 megabytes, run the Java Plug-in Control
Panel application and set the "Java Run Time Parameters" to " -Xmx64m"

http://www.sportsci.com/pzt/java3d/

HTH

--Dave

0 new messages