New blog domain: kula.blog

It's still work in progress but new posts will be published on  https://kula.blog/ Thanks to 11ty base blog RSS is working from the start so it should be easy to add to your reader if you still use any :) If now then I hope you can sign up to the newsletter where I'll be publishing new posts and interesting articles to it from time to time. Please use  kula.blog  from now on.

netbeans.conf - How to make NetBeans faster

I've started to experimenting with NetBeans again, but for that I need to make NetBeans faster...

Consider adding to your /etc/netbeans.conf minimal and maximal Heap sizes (larger than default).
-J-Xms256m  start level
 -J-Xmx1024m maximum
Adjust it to your RAM, and current memory usage.

on Windows 7:
netbeans_default_options="-J-client -J-Xss2m -J-Xms128m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.zip.disableMemoryMapping=true -J-Xverify:none -J-Xmx512m -J-XX:CompileThreshold=100 -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled "

Ideas from: http://performance.netbeans.org/howto/jvmswitches/

Beware that on LinuxMint I used only

-J-Xms512  -J-Xmx2048m
without GC and CompileTreshold due to slowdown of IDE and whole system (100% CPU without reason).

The best idea is to experiment and try on your machine.

Furthermore consider disabling as much Plugins as You can. If you are not using svn/hudson/bugzilla just remove it (or at least disable). Disabling Spellcheckers should also gain speed.

Comments

Popular posts from this blog

How to simulate slow connection (developer proxy in Node.js)

Safari Mobile CSS VW and VH units bug.