Difference between revisions of "Changing applet's heap size via HTML"

From JPCT
Jump to: navigation, search
(Created page with 'Just add <pre><param name="java_arguments" value="-Xmx256m"></pre> to your html file and change 256m to suit your needs (in MB) Ex.: <pre> <applet code="MyApplet" archive="MyAppl...')
 
 
Line 5: Line 5:
 
</applet>
 
</applet>
 
</pre>
 
</pre>
 +
[[Category:jPCT]]
 +
[[Category:Applets]]

Latest revision as of 23:35, 1 February 2013

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>