Discussion:
[orientdb] How to dump of configuration and profiler
Ford Guo
2012-08-03 01:43:43 UTC
Permalink
Hi,
I am using the embedded server in my projects,sometime later,I find there
is out of memory exception,I have no idea how to diagnose where it is.
So i wanna know how to view the current configure and profiler in orientdb.

--Ford

--
Luca Garulli
2012-08-07 17:34:10 UTC
Permalink
Hi,
for OOM problems use a profiler like YourKit: run it and attach to the JVM.
Post by Ford Guo
Hi,
I am using the embedded server in my projects,sometime later,I find
there is out of memory exception,I have no idea how to diagnose where it is.
So i wanna know how to view the current configure and profiler in orientdb.
--Ford
--
--
Danny Thomas
2012-08-07 20:47:25 UTC
Permalink
Easier for production: enable the HeapDumpOnOutOfMemoryError option and use MAT:

http://www.oracle.com/technetwork/java/javase/memleaks-137499.html#gdyrr
http://www.eclipse.org/mat/

Some tips:

http://kohlerm.blogspot.co.uk/2009/07/eclipse-memory-analyzer-10-useful.html

Danny

--

Loading...