This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Tomcat and the fly likes How to increase the Heap size if my server..? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to increase the Heap size if my server..?" Watch "How to increase the Heap size if my server..?" New topic
Author

How to increase the Heap size if my server..?

santhosh.R gowda
Ranch Hand

Joined: Apr 06, 2009
Posts: 296
Dear All,

As my server is throwing out of memory error and i'm using 4 GB RAM in my server
and when when my application is running its displaying out of memory Error and even though i had written one program to check free memory its displaying TotalMemory =64MB and free memory = 42 MB if i set heapsize in commond promt is it effect the tomact using the heap or i want to set it in tomcat level

Please Can anybody shed some light on this
issue?


Creativity is nothing but Breaking Rules
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

Start with http://wiki.apache.org/tomcat/FAQ/Memory
Else use the search here. That's a quite common problem.
 
 
subject: How to increase the Heap size if my server..?