Olivier HEDIN wrote:
> 
> Hi,
> 
> We are currently experimenting the following problem with JOnAS 2.1.1 :
> 
> We are creating lots of CMP Beans (about 20.000) of the same type.
> The memory grows and grows until an OutOfMemoryError or something like
> "Transaction inconsistency error" occurs.
> When we run the EJBServer with -Xrunhprof, the HPJMeter shows that the
> "JOnASMyBeanRemote_Stub", "JOnASMyBeanRemote", "JOnASMyBeanRemote_Skel"
> and the "MyBeanPK" that are created are never removed from the memory.
> The other objects "JOnASMyBeanHome", "JOnASMyBeanHome_Stub",
> "JOnASMyBeanHome_Skel", "JOnASMyBean" are only instancied once and
> that's ok with them.
> 
> Is there a problem with JOnAS or with GC ?
> 
> Transaction attribute is "Mandatory".
> 
This is not normal if your orb is rmi, because the garbage collector
should remove the Remote objects. All is normal if your orb is Jeremie
because the garbage collector is not distributed.
You can try to run the garbage collector in the server (JonasAdmin -gc)
to see if the objects are removed then.
-- 
Philippe Durieux  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bull - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED]
-> Download our EJBServer at http://www.evidian.com/ejb <-
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to