[jira] Closed: (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] Closed: (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:all-tabpanel ]

Jason van Zyl closed MNG-3320.
------------------------------

    Resolution: Incomplete

> 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: Jason van Zyl
>            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