AD-BRITE

Wanna Buy!

Tuesday, March 16, 2010

How to Increase the Heap Size in Your Netbeans or Servers

Hi!

Here is the solution for your heap size trouble, here i have post this solution because i have facing this trouble for a while am doing project in netbeans,so i made decision to post this solution in my blog.

You can set JVM parameters when you start Tomcat from NetBeans as follows:
1. Open the Services window and expand Servers
2. Right-click the Tomcat server and select Properties to open the Servers
dialog
2. Click the Platform tab and set the VM options

You can set the JVM parameters when you start Tomcat outside NetBeans as
follows:
1. Go the the Tomcat installation folder's bin directory and edit
startup.bat
2. Add the following line (replacing 256 with whatever value you want)
set JAVA_OPTS= -Xms256M -Xmx512M
before
call "%EXECUTABLE%" start %CMD_LINE_ARGS% 







For Further Clarification just refer this website


Click here to redirect to solution page...

No comments:

Post a Comment

Powered By Blogger