To increase the size of heap memory for a Netbeans project
To increase the size of heap memory for a Netbeans project, do the following: 1. Change -Xms, -Xmx, -XX:PermSize,to the desired memory size e.g : -J-Xms512m -J-Xmx2G -J-XX:PermSize=2G -Xms defines the minimum size and Xmx the maximum. These options are saved in the netbeans.conf file To find the file on a mac, go to Application/Netbeans/Netbeans7.3 right click and choose show Package Content and then go to: Contents/Resources/Netbeans/etc/netbeans.conf 2. Also add the same options in the Project Properties file of the Nebeans Project as well as in Netbeans Platform Config file. ( located in Important files folder of the project) run.args.extra=-J-d64 -J-Xms512m -J-Xmx2G This file can found in the Important Files folder of the Netbeans project. This increases the memory for the Netbeans project also and not only for the Netbeans platform.