File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

heapdump on out of memory

 
sunny kkk
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 152
Linux VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
happy reading
 
Matt Cartwright
Ranch Hand
Posts: 152
Linux VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic