Closed (fixed)
Project:
Fast Gallery
Version:
6.x-3.3-beta1
Component:
Documentation
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2009 at 13:14 UTC
Updated:
3 Aug 2011 at 06:50 UTC
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
Comment #1
morten.kongsgaard@broadpark.no commentedComment #2
jan.n commentedAll of a sudden, I get the same error in 4.0b4
Comment #3
tstermitzProbably php.ini doesn't have enough memory allocated...
But, many hosting environments throttle your memory even if you try to allocate more.
Comment #4
iam_himanshu commentedme 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
Comment #5
jan.n commented@ #3: No, php.ini DOES limit me, but to 150 MB. Error says something smaller than that threshold...
Comment #6
tstermitzMy 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.
Comment #7
rapsli commentedgoing to close this issue, as this version is not supported anymore and the issue is old
Comment #8
mukulessy commentedfatal error is available less than 15MB =1079091200
Comment #9
mukulessy commented