Re: dev:restart and permanent generation leak?

2013-06-28 Thread Achim Nierbeck
Hmm, if I'm not completely wrong a dev:restart keeps the JVM up and running. So this isn't an issue of Karaf/Equinox/Felix or whatsoever it's an issue of the JVM itself that isn't capable of cleaning the Perm Space. As the command already states this is a development command and is not supposed

Re: dev:restart and permanent generation leak?

2013-06-28 Thread Jean-Baptiste Onofré
AFAIR, the PermSize increase is a known issue: dev:restart creates a new classloader for each bundle, but the previous classloader is not unloaded by the JVM. Regards JB On 06/28/2013 09:05 AM, Achim Nierbeck wrote: Hmm, if I'm not completely wrong a dev:restart keeps the JVM up and

Re: dev:restart and permanent generation leak?

2013-06-28 Thread Achim Nierbeck
JB, to my understanding this isn't a known bug/issue of Karaf/Equinox/Felix but an issue of the JVM, unless one uses a JDK8 he won't be able to cleanup the perm space as all class definitions are stored there. As JDK8 doesn't have a perm space anymore (actually JDK7 should already be better on

Re: dev:restart and permanent generation leak?

2013-06-28 Thread Jean-Baptiste Onofré
Correct, I talked about JVM depending of the classloader structures. Regards JB On 06/28/2013 09:24 AM, Achim Nierbeck wrote: JB, to my understanding this isn't a known bug/issue of Karaf/Equinox/Felix but an issue of the JVM, unless one uses a JDK8 he won't be able to cleanup the perm space

Re: dev:restart and permanent generation leak?

2013-06-27 Thread Raman Gupta
JB, did you have a chance to take a look at this? Do you want me to create an entry in Jira? Regards, Raman On 01/31/2013 03:05 AM, Jean-Baptiste Onofré wrote: Hi Raman, I tried with Felix, same behavior. Each dev:restart execution uses around 80% of additional Perm Gen: - 23,724,976 -

Re: dev:restart and permanent generation leak?

2013-01-31 Thread Jean-Baptiste Onofré
Hi Raman, I tried with Felix, same behavior. Each dev:restart execution uses around 80% of additional Perm Gen: - 23,724,976 - 29,829,568 at first execution - 29,829,568 - 35,809,616 at second execution ... I gonna take a look in dev:restart command. Regards JB On 01/31/2013 08:16 AM,

dev:restart and permanent generation leak?

2013-01-30 Thread Raman Gupta
If using dev:restart with Karaf 2.2.9 with Equinox, the size of the permanent generation increases drastically: Permanent generation on initial start: $ jmap -heap 27384 [...] PS Perm Generation used = 50648144 (48.30183410644531MB) After dev:restart, perm gen size is about 75% bigger:

Re: dev:restart and permanent generation leak?

2013-01-30 Thread Jean-Baptiste Onofré
Hi Raman, Users mentioned that with Equinox as well. I didn't try with Felix (I will). Not sure we can do something in Karaf, I will take a look. Regards JB On 01/31/2013 01:42 AM, Raman Gupta wrote: If using dev:restart with Karaf 2.2.9 with Equinox, the size of the permanent generation