Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to increase Heap memory of Netbeans platform's Application in java?

I m making Desktop Application in netbeans plpatform in java swing.when i run my App in netbeans 7.0 it work well.after that i made installer of my app.then i install my App installer, it work very slow.when my App run on netbeans IDE it consume minimum 10mb and maximum 510mb.but after it install it get only 24mb minimum and 64mb maximum byDefault of installer in netbeans IDE or when i make installer of my app using netbeans IDE it get only 24mb minimum and 64mb maximum. so how can i increase Heap memory of my App or heap memory of my app installer?

like image 522
Jay Avatar asked Jun 29 '12 13:06

Jay


2 Answers

if you go to your applications installed directory the go to etc folder then open the applicationName.conf file and change the min and max heapsize then save and restart your application, that should change your applications heap size, check the change in your application ide log, thanks

like image 141
Syed M Ahmed Avatar answered Sep 22 '22 13:09

Syed M Ahmed


Go to your project's properties (right-click on left hand side of the Netbeans interface), and change the VM options field to this:

The 64 is the minimum VM size (in MB) and the 2048 is the maximum VM size in MB.

enter image description here

like image 29
João Rocha da Silva Avatar answered Sep 22 '22 13:09

João Rocha da Silva