I'm getting this error, and it doesn't make sense to me:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 101 bytes) in/home/wap/public_html/includes/database/query.inc on line 1856
Its trying to allocate only 101 bytes. I get similar errors when I try to enable a module. I have the site also running locally, and get no error. What I have to do is make all changes on my local site, then upload the database to my remote site. It's a pain.
What should I look for to fix this?
Bill
William Prothero http://es.earthednet.org
it's been getting that 101 a lot of times. I use phpEd's debugger which gives me a good backtrace. It happens a lot under the modules page.
First step is to look at your php.ini and try increasing your memory size, then restart apache. The default size is too small. If your host doesn't provide root access to php.ini there's usually a way to do it in a local directory as an include to php.ini.
-Don-
On 4/20/2013 6:21 PM, Waprothero@gmail.com wrote:
I'm getting this error, and it doesn't make sense to me:
*Fatal error*: Allowed memory size of 67108864 bytes exhausted (tried to allocate 101 bytes) in*/home/wap/public_html/includes/database/query.inc* on line *1856*
*Its trying to allocate only 101 bytes. I get similar errors when I try to enable a module. I have the site also running locally, and get no error. What I have to do is make all changes on my local site, then upload the database to my remote site. It's a pain.*
*What should I look for to fix this?*
*Bill
William Prothero http://es.earthednet.org
On even a very simple page load, Devel tells me I am using 56MB. Trying to run a real site in 64MB is asking for heartaches. I wouldn't even try to run D7 in less than 128MB. Increase you PHP "memory limit" setting and see if your problem goes away.
Nancy
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
From: "Waprothero@gmail.com"
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 101 bytes) in/home/wap/public_html/includes/database/query.inc on line 1856
Thanks, I had set the php memory limit to 128mb, but it got reset to 64mb without me initiating it. I'll reset it. On my local MAMP version, I have set php memory to 500mb. Can't do that on my server, tho.
Best, Bill
William Prothero http://es.earthednet.org
On Apr 20, 2013, at 4:29 PM, Nancy Wichmann nan_wich@bellsouth.net wrote:
On even a very simple page load, Devel tells me I am using 56MB. Trying to run a real site in 64MB is asking for heartaches. I wouldn't even try to run D7 in less than 128MB. Increase you PHP "memory limit" setting and see if your problem goes away.
Nancy Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
From: "Waprothero@gmail.com"
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 101 bytes) in/home/wap/public_html/includes/database/query.inc on line 1856
[ Drupal support list | http://lists.drupal.org/ ]