Hi, What version are you using? I saw this problem in 1.0.2.2, but not 1.0.2.2.1 the same way.
Do you really need to create 1,000,000 rows in one transaction, or will it actually be many transactions? If I create 1000 beans/transaction, and call it many times, it seems I only ever have 1000 total used/pooled instances. I did change instance-cache-timeout="1" for the entity bean I am testing. Another change I made (for different reasons) was to set exclusive_write_acesss= "false", I don't know if that effected this at all. hope this helps, Roxanne Lachezar Dobrev wrote: > Hello. > I sent a message some days ago, to no avail. It didn't show up in the >list. > > My problem is, that Orion does not passivate my beans. > I have tested both CMP and BMP, with NO success... > > I ran a test, which created 1 million bean instances. Orion kept up >creating beans, until at last it ran out of memory (740MB). > Am i doing something wrong? > > for (int i = 0; i < 1000000; i ++){ > MyHome.create(i); > } > > No success... 1 million. If these are not released imagine what will >happen at a later moment? I need to create beans continuously. Do I have to >restart Orion every couple of minutes, just to clear the bean pools? > > I must say I'm very disappointed. I don't see reason to use Entity Beans >any more. I better serialize to files. THAT will do the job. > > Later all. > Lachezar > > > -- =============================== Roxanne Tapia Bioscience Division (B-1) Los Alamos National Laboratory 505-665-0206 ===============================