• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why i am getting OOM

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers ,

I am running only one servlet and also it is running on my pc (a sample application for practice) but why the server is throwing OOM , and more this servlet is not any data from anywhere .

Can anybody please help me for the reason of this ??
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe the servlet does something that uses up all the available memory.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I will try to find it out .Thanks.
 
Kees Jan Koster
JavaMonitor Support
Rancher
Posts: 251
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ravi,

Install the Java-monitor probe in Tomcat, it will show you what memory pools are being exhausted (heap or non-heap memory) and you can see how the memory use develops over time.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , i downloaded the software and installed it , but it does not show how it works , and strangely when i run http:localhost:8088/java-monitor , it redirects to their website nor its forum responds to my question . Do you have any idea ?

 
srinivas srinivasmeenavalli
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which application server your are using ?
is it websphere ? if yes you need to check heap dump files in
C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default
after that start your Rational application developer with
rationalsdp.exe -clean
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

sorry i did not mention that :

I am using Tomcat 5.0
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you done the simple thing and increased the heap size? That may well be all it needs.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

i added these two lines inside bin/catilina.bat


set JAVA_OPTS=-XX:PermSize=64M -XX:MaxPermSize=128M
export CATALINA_OPTS=-Xms128m -Xmx256m;


and restarted the system itself , but no use , it shows me this page :
[url]
http://www.java-monitor.com/[/url]

Thanks , it will be very helpful if any suggestions .

 
Kees Jan Koster
JavaMonitor Support
Rancher
Posts: 251
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ravi,

To see Java-monitor's statistics, log into the Java-monitor forum and it will show the stats right there on http://java-monitor.com/forum/
 
Kevin Chen
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what kind of OOM did you get?

heap space?
permgen space?
or .......???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic