Re: java.lang.OutOfMemoryError in Product Application

2001-01-24 Thread Sven van ´t Veer
This is a known bug. A workaround was posted a while back. I have since moved to another company and dont have an installation of orion here so Im going from memory here. there should be some class in the orion API like com.evermind.Administrator which has a function flush() (static I

Re: java.lang.OutOfMemoryError in Product Application

2001-01-24 Thread Globetrot Communications
As per the suggestion, I am doing the following in an attempt to flush the cache after every 10,000 object creation. Watching the "free memory", simultaneously, I was expecting this free memory-count to jump up every 10,000 objects - but, I am not seeing that. The "free memory" count

Re: java.lang.OutOfMemoryError in Product Application

2001-01-24 Thread Brett Lane
Hi Suresh, I am not having any problems, I was replying to someone else who was having an out of memory problem. I have not encountered any out of memory problems but I remembered sven posting something some time ago on the ApplicationAdministator, which i had saved, so I reposted it.

java.lang.OutOfMemoryError in Product Application

2001-01-23 Thread Globetrot Communications
I am populating a postgreSQL database with "Product" entity beans. I get a java.lang.OutOfMemeoryError After adding about 200K entries. Am I getting this error because all these entity beans stay in memory? Is there a work-around it besides increasing the -mx option value? How can one to create

Re: java.lang.OutOfMemoryError in Product Application

2001-01-23 Thread Brett Lane
If you search the mail archive for 'Admin Memory' you will find references to the ApplicationAdministator which can be used to flush the cache. I believe this was a work-around. I'm currently running my batchupdates with the earlier proposed workaround: import

Re: java.lang.OutOfMemoryError in Product Application

2001-01-23 Thread Globetrot Communications
Could it be that Orion does not passivate entity beans, thus running out of virtual memory? I was able to restart the ProductClient and continue adding to the table. Does anybody know of a solution better than having to stop and restart? Thanks --- Globetrot Communications [EMAIL PROTECTED]

Re: java.lang.OutOfMemoryError in Product Application

2001-01-23 Thread Suresh
PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Thursday, January 25, 2001 4:37 AM Subject: Re: java.lang.OutOfMemoryError in Product Application If you search the mail archive for 'Admin Memory' you will find references to the ApplicationAdministator which can be used to flush t