Hi all,

the UnitOfWorkInstance keeps a stack of instances in a ThreadLocal but it does not check what Thread is starting and later closing the UoW. If the Threads are different, then you end up with a real naste memory leak as the UoW never gets removed from the stack and holds all caches entity states and whatever forever.

Am I right or do I miss something? If right, then is there any spec about proper thread to UoW relation?

-Falko
--
Falko Bräutigam
http://polymap.org

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to