On Tue, 4 Apr 2000, Achim Derigs wrote:

> Hi,
> 
> I want to control the behavior of JOnAS 1.6.1 to avoid this problem. Are there any 
>deployment parameters or ideas to do this.

Okay, here are some more Information about my problem. I am starting a (long) 
transaction about 20 Mb data to load into the database (Oracle):

UserTransaction transaction = (UserTransaction)
  new InitialContext.lookup( "javax.transaction.UserTransaction" );

transaction.begin();

try {
  // loading data
  transaction.commit();
}
catch( Exception exception ) {
  transaction.rollback();
  throw exception;
}

Some session beans (TX_MANDATORY) are used to create thousands of entity beans 
(TX_SUPPORTS). The transaction commits successfully. After some time I start the 
transaction again. I notice (top) a growing, memory consuming EJBServer process:

  PID USERNAME THR PRI NICE  SIZE   RES STATE   TIME    CPU COMMAND
 7937 jonas      1  58    0  116M  110M sleep   6:49  0.00% java

Depending on the -Xmx option I get the OutOfMemoryError. 
 
Any ideas?

Regards
Achim

P.S: I am using JEREMIE.

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