How to run a module with more memory settings

Apache NetBeans Wiki Index

Note: These pages are being reviewed.

When we run the module from NetBeans IDE and we want to pass JVM options to increase PermGen and Heap Memory then add the following settings to the project.properties file of your module, or module suite.

run.args.extra=-J-Xmx512m
-J-XX:+UseConcMarkSweepGC
-J-XX:+CMSClassUnloadingEnabled
-J-XX:+CMSPermGenSweepingEnabled
-J-XX:MaxPermSize=256m

Please write the complete setting in one line.