users@glassfish.java.net

Re: OutOfMemoryError

From: <glassfish_at_javadesktop.org>
Date: Fri, 04 Apr 2008 12:26:45 PST

Can it be that you are serializing too many objects on return? Also, if you are using JAXB, you'll need to nullify one side of bidirectional relationship [b]outside a transaction[/b] (so that the persistence provider doesn't treat it as an update).

Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]

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