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
crash.
So, what could I do to let upload files of size larger then available
memory?
I’m without a clue and it’s a pretty blocking issue…

Thanks in advance.