Changing applet's heap size via HTML

From JPCT
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>