Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

heapdump on out of memory  RSS feed

 
sunny kkk
Greenhorn
Posts: 6
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
happy reading
 
Matt Cartwright
Ranch Hand
Posts: 152
Linux VI Editor
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!