Apologies for the half an email sent previously, apparently there's a key combo to send an email that i fat fingered and fired off my post without finishing it.
In any case, I'm wondering if the issue referenced here [1] regarding the memory leak with the finalizer thread is still unresolved (it appears that it is?). In the past, this has not ever affected me, but I had a user who was claiming they were having this same issue when used with tomcat & re-deploys; I eventually came across the SO post [2] which recommends just restarting frequently to avoid the issue. However, I recently upgraded from OSX Snow Leopard to Mountain Lion, which comes with a new JVM and now the exact same copy of the source of my project waits on shutdown for what appears to be the finalizer thread to complete -- at least, given what jstack shows, that's my theory. A simple app written against my library w/ the default JVM memory takes about ~1 min to shut down after the program is over. The full test suite of the library, which I give 2G is still waiting to shut down from a test run this past Thursday. I'm not sure the amount of memory is directly correlated with the length of time to shutdown, but I did see somewhere that a person claimed that they had to wait for perm gen to run out and force a full GC before the thread was shut down, so perhaps that's what I'm seeing. In any case, I'm wondering if this is still an issue, and if so, if there are any known workarounds and/or fixes in a guice dev branch that I could try and pick up for a custom build to see if that will resolve the issue I'm seeing locally. fwiw, I'm using Guice 3.0 with OSX 10.8.2 and the 1.6.0_35 JDK. Thanks. Mike [1] http://code.google.com/p/google-guice/issues/detail?id=288 [2] http://stackoverflow.com/questions/6025089/guice-tomcat-potential-memory-leak -- You received this message because you are subscribed to the Google Groups "google-guice" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-guice/-/pF9y7UwdooMJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
