[
http://jira.codehaus.org/browse/MCLEAN-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137878#action_137878
]
Vincent Siveton commented on MCLEAN-32:
---------------------------------------
I created a dir in target with 100 sub dirs in 3 levels so 100 * 100 *100 sub
dirs. The plugin is able to clean the target. with MAVEN_OPTS=-Xms256m -Xmx256m
So what is your large number of sub dir? Could you send us a test case with the
env to reproduce it?
> 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