Re: Compatibility between tapestry 4.1.6 and tapestry 4.0.2

2009-12-17 Thread Jabbar
I've fixed the problem now. Incidently I am using version 4.0.1, not 4.0.2. I modified java file org.apache.tapestry.services.impl.ObjectPoolImpl and changed private Map _pool = new HashMap(); to private Map _pool = new WeakHashMap(); Now when the JVM is low on memory the garbage collector w

Compatibility between tapestry 4.1.6 and tapestry 4.0.2

2009-12-16 Thread Jabbar
Hello all, I am currently using tapestry 4.0.2 and have found a memory leak. For some reason org.apache.tapestry.services.impl.ObjectPoolImp is 84MB in size, which is 67% of the heap space. It hold hundreds of page class instances. I've been using Apache Jmeter to simulate 14 concurrent users, ac