# Problem in downloading large file(1.1 gb) using xsendfile mo

**URL:** <https://www.ruby-forum.com/t/problem-in-downloading-large-file-1-1-gb-using-xsendfile-mo/195235>\
**Category:** Rails\
**Created:** [September 20, 2010, 12:03pm UTC](https://www.ruby-forum.com/t/problem-in-downloading-large-file-1-1-gb-using-xsendfile-mo/195235 "2010-09-20T12:03:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amit-singh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/9f8e36/32.png) [@amit-singh](https://www.ruby-forum.com/u/amit-singh)\
**Post date:** [September 20, 2010, 12:03pm UTC](https://www.ruby-forum.com/t/problem-in-downloading-large-file-1-1-gb-using-xsendfile-mo/195235/1 "2010-09-20T12:03:58Z")

</div>

Hi all,  
I am Running Apache as frontend server to mongrel and uploaded 1.1 Gb  
of file using my rails application .Now I am trying to download same 1.1  
GB stream ,for that i loaded mod\_xsendfile.so in apache httpd.conf file  
and using send\_file function downloaded this 1.1 gb of stream  
successfully.but after downloading it ,again am trying to download same  
1.1 gb of stream but now am getting failed to allocate memory error.  
what is the problem??

Thanks
