#409 TreeWalker StackOverflowError on large files

release_4.2
closed
5
2012-10-10
2006-02-06
Skyhawke
No

We have some large generated Java files in our project
(between 6000 and 12000 lines). When using the Sun
1.4.2_05 client VM the TreeWalker produces a stack
overflow (we use the eclipse-cs plugin which reports
this to the "Problems" view).
When I switch to the server VM it is fine, as it is
with the iterative algorithm that the TreeWalker can be
configured to use.

Maybe you should change the default to the iterative
algorithm so that no changes to the VM are necessary.

Discussion

  • Logged In: YES
    user_id=746148

    I've alraqdy committed such a change into CVS :)
    So, it should be available in 4.2