Hi

I get a OutOfMemoryError when I load a lot of data.
I use the Two Level Cache and all my toN Relations are mapped with
CollectionProxyBinding in OJB.
But now i get the following Exception while retreiving the data.

org.apache.ojb.broker.PersistenceBrokerException:
org.apache.ojb.broker.PersistenceBrokerException:
java.lang.OutOfMemoryError
org.apache.ojb.broker.core.proxy.CollectionProxyDefaultImpl.loadData(Col
lectionProxyDefaultImpl.java:203)
org.apache.ojb.broker.core.proxy.ListProxyDefaultImpl.loadData(ListProxy
DefaultImpl.java:148)
org.apache.ojb.broker.core.proxy.CollectionProxyDefaultImpl.getData(Coll
ectionProxyDefaultImpl.java:513)
org.apache.ojb.broker.core.proxy.CollectionProxyDefaultImpl.iterator(Col
lectionProxyDefaultImpl.java:291)

Is there a way to tell OJB to use more memory or which memory settings
in JVM can help with this problem.

Any help available?
Thanks
Markus

Markus Lauber
Bedag Informatik AG - Software Entwicklung
Gutenbergstrasse 3, 3011 Bern
Telefon 031 633 21 21 (direkt 26 57)
Telefax 031 382 35 56
E-Mail: mailto:[EMAIL PROTECTED]
Internet: http://www.bedag.ch

Reply via email to