*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to increase the Heap size if my server..?
 
Similar Threads
java.lang.outOfMemory in oc4j
out of memory exception in web application!
Getting a heap dump
Keystore Generation in Java Code
Profiler hell