You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2008/02/29 07:29:30 UTC

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

     [ 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