users@glassfish.java.net

Re: Toplink Essentials or Glassfish - looks like memory leaks

From: <glassfish_at_javadesktop.org>
Date: Thu, 01 Mar 2007 03:05:38 PST

I also experince memeory problems when using Toplink. (9.1 Build b36-rc) I am creating an EntityManager and persist several thousand new entities within one transaction. The memory usage gets to about 1300 MB and doing a .clear() and .close() on the EntityManager does not seem to help to reduce the GF memory usage afterwards. When using OpenJPA instead of Toplink my memory usage goes up only to 400MB. So are there any plans to optimize/reduce the memory usage during a persist operation?
[Message sent by forum member 'hewagn00' (hewagn00)]

http://forums.java.net/jive/thread.jspa?messageID=205798