DevFaqRuntimeMemory

How to run a module with more memory settings

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.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo