-
1. Re: Memory problem?
fredj Sep 26, 2001 12:00 PM (in response to nicolas.ocquidant)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 ? ;-)
FJ
We use Jboss 2.4.1 + mySQL. -
2. Re: Memory problem?
ashu Oct 12, 2001 6:16 AM (in response to nicolas.ocquidant)can u tell me how do u get the Memory usage of the JVM.
-
3. Re: Memory problem?
nicolas.ocquidant Oct 12, 2001 8:46 AM (in response to nicolas.ocquidant)oh... only by launching the unix utility: top
Nicolas -
4. Re: Memory problem?
nicolas.ocquidant Oct 12, 2001 8:53 AM (in response to nicolas.ocquidant)I forgot to tell you, it was with the cloudscape database. When i switch to mySQL (or postgresQL) all works fine....
Nicolas -
5. Re: Memory problem?
ashu Oct 15, 2001 2:54 PM (in response to nicolas.ocquidant)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.