Keyword

Fatal error: Allowed memory size

  • Hyperactive
  • Hyperactive's Avatar Topic Author
  • Offline
  • New Member
More
16 years 3 months ago - 16 years 3 months ago #20598 by Hyperactive
Fatal error: Allowed memory size was created by Hyperactive
were getting the following error on the article page for a test gallery. The only ncontent on the page is the code snipett to insert the gallery, and the only image in the folder is test.jpg

the full error is as follows:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 14592 bytes) in /home/clubecom/public_html/user-portal/plugins/content/jwsigpro/sigpro_engine.php on line 72

Please note that currently the PHP memory limit is set to 32 MB which should be more than enough for this script to display 3mb gallery images.

any help or ideas would be appreciated.

Please Log in or Create an account to join the conversation.

  • Hyperactive
  • Hyperactive's Avatar Topic Author
  • Offline
  • New Member
More
16 years 2 months ago #20599 by Hyperactive
Replied by Hyperactive on topic Re: Fatal error: Allowed memory size
Well since no one attempted to help answer this one, ill add it here for those that have the same issue.

In your servers php.ini file, you will need to increase the allowed memory size for scripts. In our case we needed to increase this from 32mb to 64mb.

Please Log in or Create an account to join the conversation.

More
15 years 7 months ago #20600 by blahblah
Replied by blahblah on topic Re: Fatal error: Allowed memory size
Im on a reseller host plan at hostdime.com. I wrote tech support with the error and a link to the site:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 11264 bytes) in /home/xxx/public_html/plugins/content/jw_sigpro/sigpro.engine.php on line 209

and they responded:

Because of the nature of php.ini files (they only work for scripts ran from the directory they are in), sometimes it's tough to pinpoint where it needs to go without a URL. Now that you have provided the URL, we have created a php.ini file in [/home/xxx/www] and the URL provided in your reply is now loading without any issues.

The php.ini file code is simple and one line:

memory_limit = 48M

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum