aspose file tools*
The moose likes Performance and the fly likes JVM - Memory Issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "JVM - Memory Issues" Watch "JVM - Memory Issues" New topic
Author

JVM - Memory Issues

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1368
I am getting OutOfmemoryError, StackOverflowError and Segmenation fault issues with JBoss. I tunned JVM heap size and permSize. Still it's comming. Any inputs/suggestion ?
steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 852
Have you done anything to look at what objects are in memory? I suspect jboss has some tool that allows you to see that.


http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
Sriram Naga
Greenhorn

Joined: Aug 24, 2010
Posts: 8
Did you increase the stack size?
Segmentation fault in this case might be due to lack of memory.
I think you have already increased the initial heap size.


[My Page] | [JavaRanch FAQ] | SCJP6

"I am not afraid of the storm, as I am learning to sail my ship"
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1368
I increaed stack size too..
Sandeep Sanaboyina
Ranch Hand

Joined: Dec 14, 2009
Posts: 72
Try profiling your applications to see if objects are not going into garbage properly. You can use profilers like JProfile/ Jensor.


They say you have to be the first, the best or different. I say, is it too much to ask for all three.
SumitPal Pal
Greenhorn

Joined: Aug 31, 2010
Posts: 21
It would be easier for us to debug this - if you can send us the stack trace that you are getting.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JVM - Memory Issues
 
Similar Threads
Platform Indepedent
Getting UnsupportedClassVersionError Unsupported major.minor version 49.0
SQL queries
JVM crash due to perm gen space 99% in use
PermGen Memory issue in WebLogic 10