[jira] Commented: (MNG-3320) Avoid perm gen space out of memory errors

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] Commented: (MNG-3320) Avoid perm gen space out of memory errors

JIRA jira@codehaus.org

    [ http://jira.codehaus.org/browse/MNG-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_125557 ]

Jason van Zyl commented on MNG-3320:

This is for the embedder that was in 2.0.x which is no more. I don't run into problems with the new embedder. But if you have a test case, or can describe what caused the failure reopen the issue for the 2.1.x embedder. The 2.0.x version is defunct.

> Avoid perm gen space out of memory errors
> -----------------------------------------
>                 Key: MNG-3320
>                 URL: http://jira.codehaus.org/browse/MNG-3320
>             Project: Maven 2
>          Issue Type: Wish
>          Components: Embedding
>    Affects Versions: 2.0.5
>            Reporter: C├ędric Munger
>            Assignee: Milos Kleint
>            Priority: Minor
>             Fix For: 2.1-alpha-1
>         Attachments: mavenEmbedder.txt
> Each maven embedder instance is using his own classworld, the problem is that the creation of multiple maven embedder instances can lead to perm gen space errors, since each embedder classworld is filling the perm gen space memory area with new classes, out of memory  errors can occurs quite easily. For some unknown reasons, this memory is never garbaged collected (at least on an MacOSX 1.5.0 JVM). A Shared classworld between all embedder object instances could avoid this potential problem. A modification of the 2.1 embedder API to choose between these 2 modes (own classworld or shared) could be a good thing.

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