In article <cc*********@ne ws.sarnoff.com> ,
"Oleg Konovalov" <ol*****@yahoo. com> wrote:
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.
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...&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