[ 
https://issues.apache.org/jira/browse/MNG-6563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16760176#comment-16760176
 ] 

Karl Heinz Marbaise commented on MNG-6563:
------------------------------------------

So you are creating a structure like this:
{code}
 +- parent
     +- sub1
           +-- sub11
                  +-sub111
...
{code}
this means a structure with 1000 levels in depth..This is a thing which will 
fail in reality cause in Windows you have limits on the path length which do 
not allow such a long path..Apart from that I have already worked on projects 
which have ca. 1200 modules which are loaded into Eclipse with m2e and worked. 
Of course you have to configure memory in different things which is expected 
...? 
Can you more in detail explain what the intention of such tests would be? I 
have written a groovy tool to generate me larger maven multi module structures 
which helped me to identify memory issues...?

> StackOverflowError when reading deep (1000) project hierarchy
> -------------------------------------------------------------
>
>                 Key: MNG-6563
>                 URL: https://issues.apache.org/jira/browse/MNG-6563
>             Project: Maven
>          Issue Type: Bug
>          Components: core
>            Reporter: Mickael Istria
>            Priority: Major
>
> I'm trying to write tests loading huge extreme Maven projects in m2e to check 
> how it likes it or not and how to improve it.
> One of the tests creates 1000 projects, each one being a parent of the other. 
> When trying to read it, Maven (and thus m2e) crashes with a 
> StackOverflowError because it deeply recurses on build/initParent methods.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to