GroovyShell memory leak in java7+groovy2.4.7

2016-09-28 Thread Jeff Adamson
Using GroovyShell to evaluate expressions appears to leak permgen space in 2.4.7 when run with oracle java 7 jvm. Should I open a bug report or is there an existing one I can link to? Using groovy 2.4.7: this script causes perm-gen error in java 1.7. After approx 24 thousand evaluate calls it

Re: Serious memory leak in groovy 2.4.7?

2016-09-28 Thread John Wagenleitner
It might be related to GROOVY-7683 [1]. I ran the script with 2.4.8-SNAPSHOT and it completes successfully. I can replicate the problem with 2.4.7. As a workaround, I can get it to work with 2.4.7 if I use the following: groovy -Dgroovy.use.classvalue=true groovyOOM.groovy [1]

Serious memory leak in groovy 2.4.7?

2016-09-28 Thread Jeff Adamson
Using GroovyShell to evaluate expressions appears to leak permgen space in 2.4.7 when run with oracle java 7 jvm. Should I open a bug report or is there an existing one I can link to? Using groovy 2.4.7: this script causes perm-gen error in java 1.7. After approx 24 thousand evaluate calls it

Re: Serious memory leak in groovy 2.4.7?

2016-09-28 Thread Paolo Di Tommaso
I've noticed a similar problem recently. p On Wed, Sep 28, 2016 at 9:23 PM, Jeff Adamson wrote: > Using GroovyShell to evaluate expressions appears to leak permgen space in > 2.4.7 when run with oracle java 7 jvm. > > Should I open a bug report or is there an existing

Serious memory leak in groovy 2.4.7?

2016-09-28 Thread Jeff Adamson
Using GroovyShell to evaluate expressions appears to leak permgen space in 2.4.7 when run with oracle java 7 jvm. Should I open a bug report or is there an existing one I can link to? Using groovy 2.4.7: this script causes perm-gen error in java 1.7. After approx 24 thousand evaluate calls it