users@glassfish.java.net

Re: OutOfMemory Exception

From: Vivian Steller <vivian.steller_at_uni-ulm.de>
Date: Wed, 20 Jun 2007 13:20:26 +0200

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

When I run the app nothing is in the database. It is completely empty!

>
> 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.

I use OpenJPA as persistence provider. But as I mentioned earlier.
This issue has nothing to do with any persistence impl. I commented
out any persist/merge etc. methods so nothing on JPA is invoked.

The thing is serialization between a standalone app client and a
session bean instance (remotely called) does not work. The error
occures while marshalling or unmarshalling the data sent to the
session bean. On the server side no actual business method is
invoked. Thus nothing to with JPA...

Anyway thanks for your ideas.

Best regards,
vivian

>
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>