Here are some configuration to speed up Netbeans.
${HOME} is where your netbeans is installed.
${HOME}/etc/netbeans.conf
Replace or comment out first the default netbeans_default_options and paste the configuration below it.
${HOME}/etc/netbeans.conf
Replace or comment out first the default netbeans_default_options and paste the configuration below it.
Windows:
netbeans_default_options="-J-Xverify:none -J-client -J-Xss2m -J-Xms128m -J-XX:PermSize=256m -J-XX:MaxPermSize=512m -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -J-Dapple.awt.graphics.UseQuartz=true"
Ubuntu:
netbeans_default_options="-J-Xverify:none -J-client -J-Xss2m -J-Xms128m -J-Xmx1024m -J-XX:PermSize=256m -J-XX:MaxPermSize=512m -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true"
netbeans_default_options="-J-Xverify:none -J-client -J-Xss2m -J-Xms128m -J-XX:PermSize=256m -J-XX:MaxPermSize=512m -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -J-Dapple.awt.graphics.UseQuartz=true"
No comments:
Post a Comment