Changing applet's heap size via HTML

From JPCT
Revision as of 09:29, 24 April 2009 by AGP (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Just add
<param name="java_arguments" value="-Xmx256m">
to your html file and change 256m to suit your needs (in MB) Ex.:
<applet code="MyApplet" archive="MyApplet.jar" codebase="." width="800" height="600">
    <param name="java_arguments" value="-Xmx256m">
</applet>