Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2009 at 21:56 UTC
Updated:
19 Feb 2011 at 18:37 UTC
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1020 bytes) in /sites/all/modules/views/plugins/views_plugin_display.inc on line 21
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 35 bytes) in /drupal/sites/all/modules/views/includes/base.inc on line 100
I get either one or the other on my screen
I am on a test site
I have 550M of memory allocated in php.ini
Comments
Comment #1
merlinofchaos commentedDefinitely something wrong, but no way to tell what without being able to reproduce this situation. Memory errors can be anything, and where you see the crash is not necessarily what was taking up all the memory. It's just the straw the broke the proverbial back.
For what it's worth, that says your PHP is set to 128M which is still more than plenty for any Drupal install I've ever seen.
Comment #2
socialnicheguru commentedOk. I am confused.
In settings and my php.ini file I set it to 550M.
it even says so on the status page.
So how is my memory set to only 128M?
Where should I look for an alternately defined php memory limit?
Comment #3
esmerel commentedComment #4
gianfrasoft commentedHi, @SocialNicheGuru.
Did you solve the problem? I have the same.
Thanks.
Comment #5
gianfrasoft commentedHi @SocialNicheGuru, hi all,
we solved the problem. It was an erroneous call to the node_load api inside a theme file.
In the code:
node 788 didn't exist and the allowed memory size exhausted fatal error came out always, also with a huge amount of memory allocated in php.ini.
Hope this helps.
Bye.
Comment #6
socialnicheguru commentedhow did you find where it was?
Comment #7
gianfrasoft commentedDisabling one by one theme files. Doing so, we found the file giving the problem so, disabling progressively pieces of php code in the file we found the killer api.
: )
Comment #8
khosman commentedsame issue, subscribing