1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Memory leak in downloading file up to 40 M

Discussion in 'Resolved Bug Reports' started by lupomeo, Dec 4, 2010.

  1. lupomeo

    lupomeo Member

    php.ini file is ok
    upload 50M file ok
    but download doesn't work

    Code:
    <b>Fatal error</b>:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 42438428 bytes) in <b>public_html/board/library/Zend/Controller/Response/Abstract.php</b> on line <b>585</b><br />
    This error happened with any php.ini config
    for example with memory limit to 128M or 512M is the same.
     
  2. lupomeo

    lupomeo Member

    The problem persist in Beta 4 and was confirmed by Hostmonster too.
     
  3. Pepelac

    Pepelac Well-Known Member

    what about to use readfile function instead of file_get_contents and split big files into smaller chunks?
     
  4. Mike

    Mike XenForo Developer Staff Member

    This should be addressed now.
     
    Alessandro Miceli and lupomeo like this.

Share This Page