Technology Tools for Ministry

Community

Web-Empowered Church User Community
All Categories > Ministry Tools > Map Extension > Fatal error: Allowed memory size
Total Posts: 6 - Pages (1): [1]
Author: Jeff Houston
Posted: Mar 19 2008 - 10:38 AM
Subject: Fatal error: Allowed memory size
I am getting this error message on my home page when I try to access it. I went to this file and that line number but I dont see anything wrong there so I am at a loss. Here is the exact error message:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4864 bytes) in /home/mysite/public_html/typo3conf/ext/wec_map/class.tx_wecmap_domainmgr.php on line 46
user picture Author: Christoph Koehler
Posted: Mar 19 2008 - 10:49 AM
Subject: re: Fatal error: Allowed memory size
Jeff,

It means you ran out of memory in PHP. The line number just says what it was doing at the time it happened. It looks like your php.ini memory_limit is 32M. You may try and raise that to maybe 64M or so, if you can.

Christoph
Author: Jeff Houston
Posted: Mar 19 2008 - 11:47 AM
Subject: re: re: Fatal error: Allowed memory size
Where would I find php.ini at?
user picture Author: Christoph Koehler
Posted: Mar 19 2008 - 12:07 PM
Subject: re: Fatal error: Allowed memory size
Jeff,

You'd need access your server. The location of the php.ini is different depending on a lot of factors, but if you go to the TYPO3 install tool and then 8. phpinfo() and search for Loaded Configuration File, it should give you the path to it. The directive inside it is called memory_limit. Setting it to 64M should be enough.

Christoph
Author: Jeff Houston
Posted: Mar 19 2008 - 01:07 PM
Subject: re: re: Fatal error: Allowed memory size
Christoph Koehler wrote:
Jeff,

You'd need access your server. The location of the php.ini is different depending on a lot of factors, but if you go to the TYPO3 install tool and then 8. phpinfo() and search for Loaded Configuration File, it should give you the path to it. The directive inside it is called memory_limit. Setting it to 64M should be enough.

Christoph

Hey Christoph
I reckon I dont have access to that file. I did as you instructed and it said that my php.ini was in this location: /usr/local/lib/php.ini and I tried to go there but there is no such location at least that I can see anyway. So I called my host and they upped my memory for me, but he only bumped it up to 62 mb. Not sure why, he originally told me to 60 so I asked for 64 but he only went up to 62 not sure why. But anyway, my site is up and running again. Thanks for the help!
user picture Author: Christoph Koehler
Posted: Mar 19 2008 - 01:18 PM
Subject: re: Fatal error: Allowed memory size
Jeff,

Looks like you bargained him up and met in the middle 62M should be plenty!

Christoph
Total Posts: 6 - Pages (1): [1]
You must login to post a message to this conference.