Friday, 11 September 2009

How to increase java heap size in NetBeans?

 Edit the file NETBEANS_HOME/etc/netbeans.conf. Current conf file contents given below

netbeans_default_options="-J-Dorg.glassfish.v3.installRoot=\"C:\Program Files\sges-v3-prelude\" -J-Dcom.sun.aas.installRoot=\"C:\Sun\AppServer\" -J-client -J-Xss2m -J-Xms32m -J-Xmx1024m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true --fontsize 14 --laf com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel"


Description
--fontsize 14  [to change the default font size in editor]
--laf com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel  [to change the Look And Feel]
Some other look an feel values,
javax.swing.plaf.metal.MetalLookAndFeel
javax.swing.plaf.metal.MetalLookAndFeel
com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
com.sun.java.swing.plaf.motif.MotifLookAndFeel
com.sun.java.swing.plaf.windows.WindowsLookAndFeel
com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel

No comments: