Armin Waibel wrote:

Hi,

Reda Benzair wrote:

Hello

Please can anyone tell me why this problem or what is solution ????

I have an application Web tomcat + OJB + oracle and I have 2 Go of memory available for the RAM
I have big problem of memory with OJB but very rondom, because ojb send me this error
I use proxy on my repository in order to optimized the collection


first error :

[org.apache.ojb.broker.cache.InternalCache] ERROR - Found 1 abandoned objects in local cache, check code to force push to real ObjectCache


This could be a "side-effect" of an previous error.




second error is :

org.apache.ojb.broker.PersistenceBrokerException: java.lang.OutOfMemoryError at


Seems your JVM hasn't enough memory to materialize all objects of the performed query.
Add JVM heap size properties (e.g. -Xms128m -Xmx256m), more info type on console "java -X" (for SUN JVM)


regards,
Armin



org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:238) at org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:250) at org.apache.ojb.broker.core.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerImpl.java:1205) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery(DelegatingPersistenceBroker.java:331) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery(DelegatingPersistenceBroker.java:331)




Thanks ...



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

thank you very much for your fast response :)
for your solution (e.g. -Xms128m -Xmx256m) I already used in my jvm
be have you more information for performance OJB + and very great Data base
or have you information for problem use java JVM whith OS (debian linux)
Thanks ...
--
*Reda BENZAIR**
*Software Analyst


**SmartJog S.A*
*Phone: +33 (0)1 4996 6324
Fax: +33 (0)1 4996 6323
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to