aspose file tools*
The moose likes JBoss/WildFly and the fly likes how to configure the premgen path in  jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "how to configure the premgen path in  jboss" Watch "how to configure the premgen path in  jboss" New topic
Author

how to configure the premgen path in jboss

Ramasubramaniam Rathinasubbu
Ranch Hand

Joined: Jun 09, 2010
Posts: 44
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

Joined: May 14, 2008
Posts: 5830
    
    7

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...)


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to configure the premgen path in jboss