Fatal error: Allowed memory exhausted

iantresman - May 26, 2009 - 17:56
Project:Custom Pagers
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

I've successfully set-up a custom pager. But on entering Views 6.x-3.x-dev, and adding a new view, after entering the new View name and description, and selecting the View type as Node, pressing Next gives the error message:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 35 bytes) in /my-path/public_html/sites/all/modules/custom_pagers/custom_pagers.module on line 231.

I've already increased my PHP memory to 32Mb by adding a line to my .htaccess file.

This issue could be related to the post "custom pagers eating a ton of memory"

#1

iantresman - May 26, 2009 - 18:13

On increasing the PHP memory to 48M, I get the error message:

Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 35 bytes) in /my-path/public_html/sites/all/modules/custom_pagers/views/custom_pagers_plugin_style_php_array.inc on line 18

Increasing the PHP memory to 64M resolves the issue, and I get no error message.

#2

iantresman - May 26, 2009 - 22:40
Priority:normal» critical

Still appears to be a problem, on visiting my home page, I get the error message:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 4 bytes) in /my-path/public_html/includes/database.mysqli.inc on line 144

On removing the Custom Pager module, the error message disappears.

#3

elly - May 27, 2009 - 19:58

Yep, this is happening to me. Sadly, I'm on dreamhost so I can't raise my memlimit - dreamhost just kills my php processes automatically when they take up too much memory, which means I end up with 404s on my views when I try to return too many nodes that have custom pagers in them. I'm pretty sure it's custom pagers that's doing it, I've tried disabling all my other module and disabling custom pagers is the only thing that fixes it. Even aggressive caching doesn't seem to help that much. Would love a way to keep custom pagers from loading on certain node views. :(

 
 

Drupal is a registered trademark of Dries Buytaert.