Hi Sid,

I've just look at the code and don't see why it wouldn't GC if the parent
request does GC. Could you share more details or investigate more? 

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com



-----Message d'origine-----
De : Sid [mailto:s...@golestane.com] 
Envoyé : jeudi 12 novembre 2009 22:33
À : discuss@restlet.tigris.org
Objet : memory leak in JaxbRepresentation

I have a resource that for GET returns a large XML.
I've notice that when ever client doesn't read the entire response,
Marshaller in JaxbRepresentation holds on to passed in objects and they
don't get garbage collected.

Is there way to prevent this

Memory leak in JaxbRepresentation if client doesn't consume the entire
response

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=24172
62

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2423472

Reply via email to