Le lundi 6 septembre 2010 21:04:57, Steven Costiou a écrit :
> Hi,
> while developping with Iliad, i thought to something, maybe i'm wrong
> but still :
>
> when we upload a file with ILFileHandler, the file is first stored in
> the Smalltalk image before it is physically written in the server's
> hard drive (speaking for Pharo and Squeak, no idea how gst does work).
>
> What happens if i have a session that last enough time to upload a
> very big file, with a size larger than the maximum RAM capacity
> allowed to the Smalltalk VM ?
Hi Stiven,
You're probably right, I'll see if there is an easy solution to this problem.
Maybe using the stream from the request directly in ILFileProxy would do it.
Anyway, for large file uploads I would use a more robust solution than
Smalltalk.
Cheers,
Nico
--
Nicolas Petton
http://www.objectfusion.frObjectfusion S.A.R.L.
Applications web - Design