[akka-user] Instrumenting Akka
Hello, I have an Actor system that implements a polling functionality (every x minutes an Actor is woken up and it creates a bunch of other actors that do something and then get "killed"). However, over a few days of running I get GC Out of Memory errors. What tools are out there to instrument what is going on and why I am running out of memory? I suppose one possibility is that some actors are queueing up messages and eventually the queue gets too large? How do I find out what is going on? Thanks! -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
[akka-user] Instrumenting Akka
You can take 2 heap dumps a day or more apart and then use Eclipse MAT to compare them (there's a compare basket feature that is very useful in such cases). Actually there's a good chance that even a single heap dump will suffice if the JVM has been running for long enough. Try to use the leak suspects report. It usually points to the right place. -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
Re: [akka-user] Instrumenting Akka
I agree with Adam, heapdump and/or analyse the system with a jvm tool/profiler of your choice (visualvm, yourkit, jprofiler etc). -- Konrad On Thu, May 28, 2015 at 8:08 AM, Adam wrote: > You can take 2 heap dumps a day or more apart and then use Eclipse MAT to > compare them (there's a compare basket feature that is very useful in such > cases). > > Actually there's a good chance that even a single heap dump will suffice > if the JVM has been running for long enough. Try to use the leak suspects > report. It usually points to the right place. > > -- > >> Read the docs: http://akka.io/docs/ > >> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >> Search the archives: > https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- Akka Team Typesafe - Reactive apps on the JVM Blog: letitcrash.com Twitter: @akkateam -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
Re: [akka-user] Instrumenting Akka
Thank you both! On Fri, May 29, 2015 at 8:15 AM, Akka Team wrote: > I agree with Adam, heapdump and/or analyse the system with a jvm > tool/profiler of your choice (visualvm, yourkit, jprofiler etc). > > -- Konrad > > On Thu, May 28, 2015 at 8:08 AM, Adam wrote: > >> You can take 2 heap dumps a day or more apart and then use Eclipse MAT to >> compare them (there's a compare basket feature that is very useful in such >> cases). >> >> Actually there's a good chance that even a single heap dump will suffice >> if the JVM has been running for long enough. Try to use the leak suspects >> report. It usually points to the right place. >> >> -- >> >> Read the docs: http://akka.io/docs/ >> >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> >> Search the archives: >> https://groups.google.com/group/akka-user >> --- >> You received this message because you are subscribed to the Google Groups >> "Akka User List" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to akka-user+unsubscr...@googlegroups.com. >> To post to this group, send email to akka-user@googlegroups.com. >> Visit this group at http://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Akka Team > Typesafe - Reactive apps on the JVM > Blog: letitcrash.com > Twitter: @akkateam > > -- > >> Read the docs: http://akka.io/docs/ > >> Check the FAQ: > http://doc.akka.io/docs/akka/current/additional/faq.html > >> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.