memory « Glassfish « JPA Q&A





1. Excessive memory usage in Toplink essentials JPA    java.net

I have an app that uses JPA and I've run into a rather nasty issue when returning large amounts of data. In particular, the data I am returning includes a number of one to many relationships so the returned dataset is a fairly large list of rows with embedded collections. I am returning roughly 25,000 rows with nested Vectors pointing to ...

2. JPA Tuning for smaller memory footprint    java.net

NAME (PUBLISHER) VERSION STATE UFIX felix 1.8.0-0 installed ---- glassfish-amx 3.0-54 installed ---- glassfish-common 3.0-54 installed ---- glassfish-corba-omgapi 3.0.0-20 installed ---- glassfish-ejb-lite 3.0-54 installed ---- glassfish-grizzly 1.9.15-0 installed ---- glassfish-hk2 3.0-54 installed ---- glassfish-jca 3.0-54 installed ---- glassfish-jdbc 3.0-54 installed ---- glassfish-jpa 3.0-54 installed ---- glassfish-jsf 2.0.0-13 installed ---- glassfish-jta 3.0-54 installed ---- glassfish-jts 3.0-54 installed ---- glassfish-management 3.0-54 installed ---- ...

3. Glassfish + Hibernate = Memory Leak, and a Workaround    java.net

There is an incorrect usage of a WeakHashMap in javassist which is bundled deep down in Glassfish within Weld, holding strong references to old WebappClassLoaders. For some reason, weld-osgi-bundle.jar exports the package javaassist.util.proxy in its OSGi manifest and does not keep its copy of javassist fully private. This is bound to cause problems is OSGi land: either you keep a dependency ...