Hi, I am new to jBoss (2.0 / NT), but have been using JOnAS for almost a
year. I switch my 24 entity/session bean appliation over to use jBoss and
seem to have the following problem:
I seems jBoss's internal pool for entity beans is set at 100 instances. If
I create 102 entity instances and then remove them, 2 invocations of
unsetEntityContext() is called (thats expected) But the finalizer never gets
called. One of my beans is a test beans which I use for testing loads. I
have a client which creates somthing like 20,000 new entitybeans (storing
only the primarykeys) then performs a find on each, invokes a method on
each, and then removes them. Currently, I get an out of memory error around
the creation of the 16,000th object. (boosting the Max heap size doen't
seem to help too much)
I set the entitycontext to null on the unset. Is there anything else?
I believe because my instances are not getting garbage collected, (only way
i can tell is to watch the finalize() method) I am getting out of memory
errors.
Any suggestions? Anyone else had similar problems like this?
Thanks
Ty Hayden
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]