You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Bouiaw (JIRA)" <ji...@codehaus.org> on 2009/04/23 16:01:45 UTC

[jira] Commented: (MCLEAN-32) Out of Memory Error cleaning target directory with *large* number of sub-directories

    [ http://jira.codehaus.org/browse/MCLEAN-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174025#action_174025 ] 

Bouiaw commented on MCLEAN-32:
------------------------------

It seems to be linked with number AND the size of the data to clean. I don't know if it load in memory all the content to delete, but try to copy a large amount of data in target, and run mvn clean ...

> Out of Memory Error cleaning target directory with *large* number of sub-directories
> ------------------------------------------------------------------------------------
>
>                 Key: MCLEAN-32
>                 URL: http://jira.codehaus.org/browse/MCLEAN-32
>             Project: Maven 2.x Clean Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: maven-2.0.8, solaris, jdk 1.6.0_05
>            Reporter: Ryan Sonnek
>            Priority: Critical
>         Attachments: output.txt
>
>
> running mvn clean on a target directory with a *large* number of sub directories causes an OutOfMemoryError.  The plexus DirectoryScanner seems to be the major culprit from the stacktrace.

-- 
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