Hello! Relative newbie to Drupal here.

I am having some serious trouble working with swftools. My php memory is set to 90MB already to handle files, and I'm getting this fatal error when I go to edit ANY of the settings in swftools (embed or file handling) for example. The rest of my site is working just fine. I *do* have a ton of modules installed, so I tried disabling some of the heftier ones to suck up less memory while I'm working on this -- no worky.

My question is: Should I just bump up my memory a ton -- is it NORMAL for swftools to need more than 90MB just to change some #$*%* settings? Or is it possible there's some sort of looping error occurring with an interaction in swftools? How would I go about troubleshooting that? Should I try turning off every other module on my site to find out?

Waaah!

Comments

barrya’s picture

I had this on some shared hosting platforms. I find a minimum of 128mb is suitable for most things I do.

You may find it isn't the modules themselves that are causing this - more what they are doing. Imagecache for example is relatively low memory usage, unless it is generating the images - in this case memory usage is dependant upon the image size, resolution, type etc.

my first suggestion with regards to swftools is set-up a second site on the same server with the same php config etc. and install a virgin copy of both drupal and swftools and work with that. See what happens now with nothing else enabled other than these two, any dependencies and core. If you get the same error again then we know exactly where to concentrate our troubleshooting.

littlealy’s picture

Barrya, thanks so much for the quick response and the wise troubleshooting ideas. I will report back if I am successful or if more explosions occur.

littlealy’s picture

1.) Created fresh installation of Drupal with no other modules except swftools and flowplayer, 90MB memory limit. Can access swftools and flowplayer settings with no errors.

2.) Started nixxing modules on my experimental copy of my live installation. After removing about 20 different modules, finally can get into swftools settings, but slowwwwly.

So I think it's just swftools is just enough of a memory hog to tip my site over the edge as opposed to a bad interaction with some other module?

I guess bumping up to 128MB of memory and killing any unnecessary modules is the next option, unless anyone else has any other suggestions on how to get down memory on this.... ? I'm a bit mindblown that the admin section can eat 90MB of memory on it's own... o.O; what's it gonna do when I upload a video, catch fire?

rv0’s picture

This is a duplicate of http://drupal.org/node/701554

I'm having the same issue

rv0’s picture

Just a quick follow up.. Bumped the memory from 90M to 128M and now it's working again

How/why is admin/settings/swftools/embed consuming that much memory??

jenlampton’s picture

Project: SWF Tools » Drupal core
Version: 6.x-2.5 » 6.25
Component: Miscellaneous » base system
Status: Active » Fixed

this issue was not related to SWF Tools, changing project and status.
And here's a handbook page on the White Screen Of Death (WSOD) and PHP memory errors that might help others: http://drupal.org/node/158043

Status: Fixed » Closed (fixed)

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