Perhaps it is a bug but I don't see the reasoning for doing what you are doing in the first place.
Why are you trying to clean out the pool? Geoff On 6/20/05, Tomas Jucius <[EMAIL PROTECTED]> wrote: > The Java Language Specification allows for the unloading of classes.. > And it is done during garbage collection... > > So it is tapestry bug.. > > On 6/20/05, Robert Zeigler <[EMAIL PROTECTED] > wrote: > > Tomas Jucius wrote: > > > Here what I have found.. I can't develop my project because of this.. > > > Because it depends on this feature.. > > > > > > As we all know tapestry put all things into pool ant it retrieves it > > > when you request for page and etc... > > > > > > My application sometimes need to reset this pool.. > > > > ?? What for? Aside from the development cycle, I can't think of any > > reason to reset the pool. It's generally considered a bad idea to have > > the reset service enabled during deployment. > > > > > > > > So I use reset service.. > > > > > > But after a lot of resets jvm memory becomes full, and I get > > > "java.lang.OutOfMemoryError" > > > So after each reset some object are not collected.. And some > > > references to objects are left.. I could't find where.. > > > > I haven't looked into this in great detail, but I suspect that it's the > > same issue as discussed earlier, dealing with an alleged memory leak > > when the disable-caching vm property is set to true. The general idea: > > tapestry creates enhanced versions of the the classes, generating > > concrete accessors for you, etc. Each time you reset, new enhanced > > classes must be generated. But the JVM caches the classes, so, > > eventually, the jvm runs out of memory due to the cached class > > definitions, rather than any caching that tapestry is doing. Check out > > the recent thread on this subject with the disable-caching vm property > > set to true; somebody there posted a set of jvm arguments that seems to > > sidestep the problem. > > > > > IF THEREIS NO ANY COMPONENT in page when it is not leaking (so I put > > > this insert).. > > > So maybe of component specifications it is leaking? > > > > Nope... your page has no properties in need of enhancement, but the > > insert component does. Taking the components out = a single class > > definition; putting the component in means each reset generates a new > > enhanced insert class. > > > > Robert > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
