File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to configure the premgen path in jboss

 
Ramasubramaniam Rathinasubbu
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using jboss in linux

some times i am getting premgen outofmemoryerror.

so i want to take the heapdumb (hprof) from jboss


where should i mention the path for .hprof file. It should be generated some where, am i correct? if it is correct
where should we mention the path.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The heap dump is usually placed in the current working directory, which for JBoss AS is the jboss_home/bin directory.

By the way, if you are getting OOMEs on permgen, just increase the permgen size. There is really nothing you can do to tune that size - you simply have to make it large enough to hold all of the classes. (Unless you wrote you own classloader...)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic