Bugs item #693861, was opened at 2003-02-26 19:43
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=693861&group_id=22866
Category: JBossServer
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Bob Cotton (bcotton969)
Assigned to: Nobody/Anonymous (nobody)
Summary: PooledInvoker has a memory leak
Initial Comment:
I think I found the memory leak in the PooledInvoker.
org.jboss.invovation.pooled.server.ServerThread has an
ivar:
ObjectInputStream in;
I believe there is one ServerThread per client, and
each object read
from in.readObject() is stored in the ObjectInputStream
until that
stream is destroyed.
JProbe shows
ServerThread->
(ObjectInputStream)in->
(ArrayList)wireHandle2Object->
(Object[]) elementData->
(MarshalledInvocation)->
(Object[])args->
(MyData)
The ObjectInputStream's ArrayList has a
MarshalledInvocation for every
call that was made from the client.
I don't see any public reset method on
ObjectInputStream, so It would
seem you would need to create a new one for every
invocation inside
the while(running) loop.
- Bob
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=693861&group_id=22866
-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development