Hello Ido,

what kind of representation were you using? a FileRepresentation?

best regards,
Thierry Boileau
> Hello Everyone,
>
> I have a problem: I need to send as a response to the client a big XML file - 
> can be even more than 30MB.
>
> What I need, I suppose, is to open an output writer and send the xml file in 
> chunks (if I try to read it all to the memory I get OutOfMemoryError and even 
> if I will increase the vm memory it won't be a solution for many users in the 
> same time).
>
> Any advice how can I do it? for now I use the StringRepresentation but it 
> doesn't work.
>
> Thanks,
>
> Ido
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=988795
>
>

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

Reply via email to