it
netbeans.org NetBeans IDE
Configure JVM startup arguments by editing netbeans.conf in your NetBeans home directory:
-J-Xms32m initial heap size 32MB
-J-Xmx128m maximum heap size 128MB
Set the Xms argument to 64MB or 128MB and the Xmx argument as high as possible (usually between 50 to 75 percent of the total memory). Xms and Xmx arguments only specify the heap size of the JVM and not the total amount of memory the JVM will use, since there are items in the JVM that do not live inside the heap.