We had an OUT OF MEMORY problem with a Serializable object put in a Blob with transcient fields too.
Note that a serializable object carry all the informations of its related classes not only the usefull member data, this can explain a so big memory space used.
'cause we want a working product quick we have decided to create a Session bean with direct
database connections ... and it works now !
But I would like the have the answer to the question "why does Jboss container don't passivate CMP beans when memory is missing ...".
I'm not sure of the question and I don't know the Jboss container enough to answer.
Any JBoss GURU here ? ;-)
We use Jboss 2.4.1 + mySQL.
can u tell me how do u get the Memory usage of the JVM.
oh... only by launching the unix utility: top
I forgot to tell you, it was with the cloudscape database. When i switch to mySQL (or postgresQL) all works fine....
i had a similar problem of too much passivation ..... so i explicitly removed my bean objects once they were not in use. beanObj.remove()... it worked fine ..atleast the server load went down.