[Mongrel] mongrel memory usage ballooning and process stomping
jgeiger at gmail.com
Thu Jan 18 15:28:50 EST 2007
Is mongrel not releasing the memory used for these operations? I need
to use send_file to stream some static images (4k max) (approved,
declined, etc) which rails then turns into new cached images. This
allows a group of people to get the current status of an item via html
email with images. It's a neat hack, but I'd like to make it better.
>But mongrel will just buffer these chunks into a StringIO
>until rails is completely finished and then mongrel will send the
>entire thing to the client. This means that every time you stream
>data like this, the entire image has to be loaded into ram in mongrel
>before it will send it to the client.
More information about the Mongrel-users