tbroyer / gwt-maven-archetypes

Apache License 2.0
152 stars 39 forks source link

Classloader leak because of Guava #19

Closed jnehlmeier closed 10 years ago

jnehlmeier commented 12 years ago

Great work so far, Thomas!

Tried the guice-rf-activities archetype and it works pretty well. But because it's using Guice and thus Guava you got a ClassLoader leak for free out of the box (see: http://code.google.com/p/guava-libraries/issues/detail?id=92). So at some point you got a PermGen space exception when Jetty reloads the generated sample app and you have to restart Jetty.

Maybe its worth it to mention the Guava issue in the docs somewhere so that novice users are aware of it.

yanivtal commented 12 years ago

What's the solution?

tbroyer commented 12 years ago

The leak only manifests itself when redeploying the web app, which happens regularly when testing, but not that much in production.

tbroyer commented 10 years ago

Should be fixed by 86d37c7 which switches to Guice 4.0-beta (which depends on Guava 11.0, where the bug is fixed).