I have tried importing between 1 and 10 audio files at a time, of varying sizes and each time I get an out of memory error.

Fatal error: Out of memory (allocated 32768000) (tried to allocate 2097152 bytes) in /homepages/12/d212162477/htdocs/drupal6/includes/form.inc on line 2510

This is the only module with which I get the error and I have tried adjusting the memory PHP is allowed to use (using php.ini) up to 50mb. I still got the error, even when attempting to import a single 1mb audio file.

I have tried both the unstable2 release and the lastest dev snapshot.

CommentFileSizeAuthor
#2 audio_337874.patch3.21 KBdrewish

Comments

drewish’s picture

can you submit the same files as upload? do they have embedded artwork?

drewish’s picture

Title: "Fatal Error: Out of Memory" when importing audio files. » Add pager to avoid "Fatal Error: Out of Memory" when importing audio files.
Category: support » bug
Status: Active » Fixed
StatusFileSize
new3.21 KB

Turns out that the forms api is pretty stupid with large forms. Each form element end up getting it's own copy of the #post values making for an non-linear growth in the size. To avoid this I've added a pager.

Committed the attached to HEAD.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.