users@glassfish.java.net

Re: OutOfMemory Exception

From: <glassfish_at_javadesktop.org>
Date: Tue, 19 Jun 2007 17:04:07 PDT

Two things.

One, how many rows are in your database? Hard to imagine 1.5GB of info on a Hotel, but who knows.

Second, you can try adding:

      <property name="toplink.logging.level" value="FINE"/>

to your persistence.xml (I assume you're running the stock Toplink in GF), and this will show you what SQL is being run.

The combination of these things should give insight as to whether the JPA is doing something silly during the load of your data.
[Message sent by forum member 'whartung' (whartung)]

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