Setting Java heap size parameters in Applet, or on Applet tag
843811May 17 2004 — edited Feb 15 2005When I build my Java application as a Frame-derived class, I start the JVM with the switches
-Xmx512m -Xms128m
in order to provide sufficient heap space to this memory-intesive application.
I also host this application within a web page, by building it with its main class derived from Applet instead of Frame. In this case, I'd like to set the memory parameters either programatically (within the applet), or on the APPLET tag in my HTML.
Anyone know how to do this?
Thanks ...