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, Jean-Baptiste Onofré wrote:
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 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:

$ jmap -heap 27384
[...]
PS Perm Generation
    used     = 88594176 (84.489990234375MB)

I haven't tried this with Felix, but is this a perm gen leak, or an
unavoidable consequence of the mechanism dev:restart uses?

Regards,
Raman Gupta
http://vivosys.com




--
View this message in context:
http://karaf.922171.n3.nabble.com/dev-restart-and-permanent-generation-leak-tp4027545.html

Sent from the Karaf - User mailing list archive at Nabble.com.



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to