Re: heap dump bval

2018-12-26 Thread Matthew Broadhead
thanks Jon On 26/12/2018 14:28, Jonathan Gallimore wrote: It would be tomorrow before I can take a look, but feel free to add me to that share and I'll take a look when I can. Jon On Wed, 26 Dec 2018, 13:27 Matthew Broadhead thanks German. i added you to the google drive share. i have got

Re: heap dump bval

2018-12-26 Thread Jonathan Gallimore
It would be tomorrow before I can take a look, but feel free to add me to that share and I'll take a look when I can. Jon On Wed, 26 Dec 2018, 13:27 Matthew Broadhead thanks German. i added you to the google drive share. > i have got visualvm working now and it seems i already have a lot of >

Re: heap dump bval

2018-12-26 Thread Matthew Broadhead
thanks German.  i added you to the google drive share. i have got visualvm working now and it seems i already have a lot of memory leaks with using @ViewScoped MyFaces managed beans. uk.me.kissy.database.entities.jpa.extras.Testimonial looks like the worst offender On 26/12/2018 13:35,

Re: heap dump bval

2018-12-26 Thread German Gonzalez-Morris
It would be nice to take a look to that heap dump. Regards, German Gonzalez-Morris ``Antes de imprimir este e-mail piense bien si es realmente necesario'' ``Before printing think about the Environment'' On Wed, Dec 26, 2018 at 9:19 AM Bruno Baptista wrote: > Thanks Matthew! > > Bruno

Re: heap dump bval

2018-12-26 Thread Bruno Baptista
Thanks Matthew! Bruno Baptista https://twitter.com/brunobat_ On 26/12/18 12:01, Matthew Broadhead wrote: hi Bruno, no i am not directly using BVal as far as i am aware i zipped it to under 600MB.  i shared you and Jean-Louis a link via google drive.  let me know if there are any problems

Re: heap dump bval

2018-12-26 Thread Matthew Broadhead
whoops...i sent my localhost version by mistake.  i am uploading the production one now which zipped to 900MB On 26/12/2018 13:01, Matthew Broadhead wrote: hi Bruno, no i am not directly using BVal as far as i am aware i zipped it to under 600MB.  i shared you and Jean-Louis a link via google

Re: heap dump bval

2018-12-26 Thread Matthew Broadhead
hi Bruno, no i am not directly using BVal as far as i am aware i zipped it to under 600MB.  i shared you and Jean-Louis a link via google drive.  let me know if there are any problems On 26/12/2018 12:31, Bruno Baptista wrote: Hi Mathew, Thanks. Are you including some bval dependency in the

Re: heap dump bval

2018-12-26 Thread Bruno Baptista
Hi Mathew, Thanks. Are you including some bval dependency in the code of your own app? You can zip that file. It will get much smaller. If you could share it, it would be nice indeed. Cheers! Bruno Baptista https://twitter.com/brunobat_ On 26/12/18 11:27, Matthew Broadhead wrote: the

Re: heap dump bval

2018-12-26 Thread Matthew Broadhead
the top 4 classes on the dominator table are class - objects - retained heap - percentage org.apache.bval.cdi.BValExtension - 27 - 785,781,368 - 50.38% org.apache.webbeans.container.BeanManagerImpl - 27 - 262,583,784 - 16.84% org.apache.openjpa.kernel.FinalizingBrokerImpl - 6,643 - 81,369,760 -

Re: heap dump bval

2018-12-26 Thread Bruno Baptista
Hi Matthew It comes with the JDK, just type: $ jvisualvm But that BValExtension usage is intriguing. Can you please let us know the top 4 classes in the retained list? This is on 7.0.5 plus with Oracle JDK 8? Cheers Bruno Baptista https://twitter.com/brunobat_ On 26/12/18 11:10, Matthew

Re: heap dump bval

2018-12-26 Thread Matthew Broadhead
it is TomEE plus 7.0.5.  shows BVal 1.1.2 in my maven dependencies i did wonder if  7.1.0 might have some improvements. On 26/12/2018 12:14, Jean-Louis Monteiro wrote: Can you provide us with the version? BVal I mean ... -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro

Re: heap dump bval

2018-12-26 Thread Matthew Broadhead
thanks Jean-Louis. i used gdb to get a jvm.core on the live system as it is much faster.  then i used jmap to convert it to a jvm.hprof. (https://www.atlassian.com/blog/archives/so-you-want-your-jvms-heap) then i used eclipse memory analyser to get the dominator table, and paths to GC root

Re: heap dump bval

2018-12-26 Thread Jean-Louis Monteiro
Can you provide us with the version? BVal I mean ... -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Wed, Dec 26, 2018 at 12:10 PM Matthew Broadhead wrote: > hi Bruno, > > i can't find visualvm in centos. i had it in ubuntu but i don't know > which centos

Re: heap dump bval

2018-12-26 Thread Jean-Louis Monteiro
I'd say probably before going too deep, I would just use the verbose:gc option piped into a log file so it can be further analyzed. It should show a memory increase to confirm. Also when it gets slow, probably a jstack could also help to see where the threads are. As for the head dump, I also

Re: heap dump bval

2018-12-26 Thread Bruno Baptista
Thant's interesting Matthew. Usually I open those in jvisualvm. I go to classes and activate the retained column. That column will calculate the retained (effective) memory usage by class. Usually it takes a while to calculate, that's why it's not on by default. Cheers Bruno Baptista

heap dump bval

2018-12-26 Thread Matthew Broadhead
TomEE 7.0.5 plus i had a recent memory leak which was stalling the server every couple of days.  so i did a heap dump and solved that problem. then i decided to do another heap dump because the server is running pretty slowly.  each page is taking a few seconds to load on a 32GB system.  (i