[jboss-jira] [JBoss JIRA] Commented: (JBVFS-119) VirtualFile instance leak

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Sep 17 06:39:24 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBVFS-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12486231#action_12486231 ] 

Thomas Diesler commented on JBVFS-119:
--------------------------------------

For debugging purposes I added code to VirtualFile that counts the life instances

It seems that with every run we add 800+ instances

Running org.jboss.test.osgi.example.blueprint.BlueprintStressTestCase
#1 9573ms 832
#2 4600ms 1617
#3 4574ms 2396
#4 4788ms 3180
#5 4379ms 3959
#6 4415ms 4742
#7 4498ms 5520
#8 4672ms 6306
#9 4582ms 7084
#10 4773ms 7868
#11 5842ms 8645
#12 5601ms 9427
#13 3977ms 10212
#14 5083ms 10993
#15 4719ms 11769
#16 4766ms 12547
#17 3923ms 13339
#18 5446ms 14112
#19 3872ms 14901
java.lang.OutOfMemoryError: PermGen space
Exception in thread "main" java.lang.OutOfMemoryError: PermGen space


> VirtualFile instance leak
> -------------------------
>
>                 Key: JBVFS-119
>                 URL: https://jira.jboss.org/jira/browse/JBVFS-119
>             Project: JBoss VFS
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Thomas Diesler
>            Assignee: Ales Justin
>             Fix For: 2.1.3.GA
>
>
> It seems that file instances are not cleaned up properly during uninstall
> [tdiesler at tddell example]$ mvn -Dtest=BlueprintStressTestCase test
> Running org.jboss.test.osgi.example.blueprint.BlueprintStressTestCase
> #1 9738ms
> #2 4692ms
> #3 4317ms
> #4 4457ms
> #5 4331ms
> #6 4222ms
> #7 4403ms
> #8 4763ms
> #9 4792ms
> #10 3988ms
> #11 4675ms
> #12 4573ms
> #13 4878ms
> #14 4957ms
> #15 3804ms
> #16 4790ms
> #17 5027ms
> #18 4182ms
> #19 5138ms
> java.lang.OutOfMemoryError: PermGen space
> Exception in thread "main" java.lang.OutOfMemoryError: PermGen space

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list