I get this error and can't figure out what is wrong

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 12288 bytes) in C:\xampp\htdocs\drupal\modules\fast_gallery\fast_gallery.cache.class.php on line 50

I have checked that there is no foldernames with space or forbidden carracters, but there is space in filenames. I have tried with two folders with subfolders with filenames with space and it works, but when I try to put in more folders it won't work. Is this a known bug? Is there a solution?

Comments

morten.kongsgaard@broadpark.no’s picture

Title: Fata Memory Error » Fatal Memory Error
jan.n’s picture

All of a sudden, I get the same error in 4.0b4

tstermitz’s picture

Probably php.ini doesn't have enough memory allocated...

But, many hosting environments throttle your memory even if you try to allocate more.

iam_himanshu’s picture

me to having the same problem on uploading images on image module..

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 12288 bytes) in C:\xampp\htdocs\travel\includes\image.gd.inc on line 190

jan.n’s picture

@ #3: No, php.ini DOES limit me, but to 150 MB. Error says something smaller than that threshold...

tstermitz’s picture

My second point, above needs to be understood.

Although php.ini permits you to set your memory limit as high as you want, some hosting service throttle you to much less. Specifically for example, Blue Host has a limit at 30k or 50k. They won't quite tell you what it is, and when I ask other hosting services I also get a run-around or else professed ignorance. 30k could end up with your 33k limit given the difference between k bits and 1024 bits.

Certainly, Drupal developers need to pay attention to memory usage, especially as we assemble drupal installations with many modules. Views and CiviCRM are quite heavy. You could try cutting off one of those to see if it helps.

I also find that memory issues can be inconsistent. One set of modules causes a memory conflict, but on another day it doesn't. Or, loading a module causes a memory error, but the second time you load it, things are fine.

Some bulk load modules choke when they get too many entries uploaded at once. I don't know if this is the case with fast gallery.

rapsli’s picture

Status: Active » Closed (fixed)

going to close this issue, as this version is not supported anymore and the issue is old

mukulessy’s picture

fatal error is available less than 15MB =1079091200

mukulessy’s picture

Component: Code » Documentation