Every thing is fine with my website but when ever i go to Phoca gallery > Images
it says
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 524288 bytes) in /mounted-storage/home61c/sub002/sc38041-VABO/filmnagaram.com/libraries/joomla/filesystem/folder.php on line 404
How can i fix this Problem
(iam not a programmer so please tell me in detail Please..........)
Fatal error: Allowed memory size of 33554432
-
saisimha
- Phoca Newbie

- Posts: 7
- Joined: 08 Jun 2008, 20:45
- Location: india
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Fatal error: Allowed memory size of 33554432
Hi, this can be caused by no engough memory in your server.
you can do:
- increase memory or cpu limit for the server
- try to resize the image before uploading and adding into gallery
Jan
you can do:
- increase memory or cpu limit for the server
- try to resize the image before uploading and adding into gallery
Jan
If you find Phoca extensions useful, please support the project
-
jptkts
- Phoca Newbie

- Posts: 4
- Joined: 13 Mar 2009, 15:02
Re: Fatal error: Allowed memory size of 33554432
(Edit: this seems like a GD issue not Phoca, some images it just struggles on) I am having the same issue, and it is strange since I am only trying to process one image that is under 2 megs and it errors out, and yesterday I was able to process an image that was 3.5 megs with no problems. I have even disable the cropping so all it should have to do is create the small medium and large photos. My memory limit is set to 20MB (Edit: now have it set to 40) in the php.ini, and when I get the error it says its exhausted 50 megs of memory. Maybe I can turn it up to 30 MB and try again.
I don't know why it has problems with these images even though they are smaller than others but this could potentially be a deal breaker. I understand that this is a free plugin and all so I am not complaining, it is just frustrating because I wanted to use this and keep having problems. I like that this gallery is fairly simple compared to some of the others that have a million options but occasionally I need that functionality so it takes a great amount of evaluation when choosing a gallery i have found.
EDIT: well these photos from this camera will not seem to process from any PHP image gallery. I don't know what it is about them, the image is only 1.7 megs and I have processed bigger ones. The dimensions are 3648 x 2735, 180 DPI, 3 compressed bits per pixel, Cannon Power Shot. I will have to do some research into the image processing libraries to see what is so intensive about these specific images. Curious as to what the memory for script should be set up to, it still won't work with 40 megs allocated.
EDIT form the GD FAQ:
Of course, opening truly huge images can cause real memory problems, if several are open at once. 8,000 pixels times 8,000 pixels times four bytes for truecolor equals a walloping 256 megabytes.
JP
I don't know why it has problems with these images even though they are smaller than others but this could potentially be a deal breaker. I understand that this is a free plugin and all so I am not complaining, it is just frustrating because I wanted to use this and keep having problems. I like that this gallery is fairly simple compared to some of the others that have a million options but occasionally I need that functionality so it takes a great amount of evaluation when choosing a gallery i have found.
EDIT: well these photos from this camera will not seem to process from any PHP image gallery. I don't know what it is about them, the image is only 1.7 megs and I have processed bigger ones. The dimensions are 3648 x 2735, 180 DPI, 3 compressed bits per pixel, Cannon Power Shot. I will have to do some research into the image processing libraries to see what is so intensive about these specific images. Curious as to what the memory for script should be set up to, it still won't work with 40 megs allocated.
EDIT form the GD FAQ:
Of course, opening truly huge images can cause real memory problems, if several are open at once. 8,000 pixels times 8,000 pixels times four bytes for truecolor equals a walloping 256 megabytes.
JP
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Fatal error: Allowed memory size of 33554432
Hi, yes, try to make smaller the resolution. Sometimes the resolution is problem and image which have large resolution can do problems with memory. It is not only the size of the file...
Jan
Jan
If you find Phoca extensions useful, please support the project