Announcement

Collapse
No announcement yet.

4MB Attachment fails. Any idea why?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 4MB Attachment fails. Any idea why?

    When I try to attach a 4MB mp3 file, I get this error:

    Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 4330275 bytes)

    I have allowed .mp3 in the attachment manager, I defined the MIME properly, my PHP upload limit is set to 20MB.

    Can anyone help with this?

  • #2
    Never mind. I fixed it by moving attachments out of the database and into the file system.

    Someone please let me know if that was a bad idea...

    Comment


    • #3
      It is how it should be for big boards

      Comment


      • #4
        To solve the original problem, if you see that message again then you can get rid of it by increasing the "memory_limit" in your php.ini file.
        Jason Litka - Utter Ramblings

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X