Where can I change the size of memory?

0
Hi

I have some files that are about 700mb. When some one downloads them they get this error:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 683595009 bytes) in /home/almawad1/public_html/libraries/joomla/filesystem/file.php on line 250.

I checked file.php, line 250 but there is no memory size available. Where can I go to change the size of memory?

Thank you
Responses (4)
  • Accepted Answer

    Friday, January 22 2010, 09:25 AM - #Permalink
    0
    this should be changed on php.ini file

    however....: 700M is ENORMOUS file. I mean... I dont know if you'll be able to handle such big files... you'd have to set at least 1G memory.. or probably MORE...

    the best option in this case is try to change some pieces of code so the downloads dont go through file.php file, but are hotlinks instead. this is of course not secure, but this will save a lot of resources...
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 22 2010, 03:55 PM - #Permalink
    0
    Hi

    Thanks for the reply. Where exactly is the location of php.ini? I checked every folder in the web folder but I can't seem to find it.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 22 2010, 04:03 PM - #Permalink
    0
    your hosting provider should give you access to this file...

    maybe through a CPanel or similar
    The reply is currently minimized Show
  • Accepted Answer

    sukhpreet
    sukhpreet
    Offline
    Sunday, January 24 2010, 11:08 PM - #Permalink
    0
    subasa wrote:
    Hi

    Thanks for the reply. Where exactly is the location of php.ini? I checked every folder in the web folder but I can't seem to find it.

    php.ini file might be invisible for u so u should talk to your host they well fix it for me because i had that problem before so u just tell your host
    The reply is currently minimized Show
Your Reply