Large file upload issue

Hi all,
I’m using dispatch.fcgi && lighttpd in a environment with memory issues.
Whenever I try to upload a file which size exceeds the memory limits,
lighttpd process grows till it fills all the available memory and then
So, what could I do to let upload files of size larger then available
I’m without a clue and it’s a pretty blocking issue…

Thanks in advance.