This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes heapdump on out of memory 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 » BEA/Weblogic
Bookmark "heapdump on out of memory" Watch "heapdump on out of memory" New topic
Author

heapdump on out of memory

sunny kkk
Greenhorn

Joined: Dec 01, 2012
Posts: 6
hi

JAVA_OPTIONS="${JAVA_OPTIONS} -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/path/OOM.log"

i've used the above command in startweblogic.sh.

1.Please check the syntax whether it is correct or not?

2.sending to a file.log will redirect ??

3.when OOM occurs heapdump will be generated. how long will it take and will it effect any load ??

thanks.
Matt Cartwright
Ranch Hand

Joined: Aug 25, 2008
Posts: 149

happy reading
Matt Cartwright
Ranch Hand

Joined: Aug 25, 2008
Posts: 149

and your changes should go in setDomainEnv.sh because that is sourced by all lifecycle scripts.
When using NodeManager make sure it is configured to use scripts.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: heapdump on out of memory
 
Similar Threads
Debugging on Remote Machine
enabling gc logs
memory arguments in start up script
How can i get heapdump args under JRockit R26.3 1.4.2
how to add character '&' in system property value