Closed (fixed)
Project:
Subscriptions
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2008 at 09:24 UTC
Updated:
19 Jan 2009 at 23:02 UTC
I have this error for user, who has lot's of unpublished nodes:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16777217 bytes) in /home/mysite/public_html/sites/all/modules/subscriptions/subscriptions.module on line 878
Line 848 is $strsent = '!'; from:
function subscriptions_nodeapi(&$node, $op, $arg = 0) {
global $user;
$strsent = '!';
switch ($op) {
case 'update':
if ($node->status == '0') { // unpublished
break; // don't notifyI allocated 32M for script execution everywhere it needed to be set per instructions on http://drupal.org/node/31819, and believed 32M is enough. Should I increase it to a bigger number like 64 or something wrong with the modules code?
Comments
Comment #1
yngens commentedI tried 64M and it gives:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 67108865 bytes) in /home/mysite/public_html/sites/all/modules/subscriptions/subscriptions.module on line 878Also tried bigger different number, but it always asks for one more byte than set number:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 134217729 bytes) in /home/mysite/public_html/sites/all/modules/subscriptions/subscriptions.module on line 878By the way, this error happens only on 'node/add' page. Despite it shows error, nodes are actually added.
If I disable the module then nodes can be added with no problem.
Comment #2
ruyakar commentedthis error also happens when adding comment.
i tried disabling most of other modules. but, unfortunately! problem exists whenever subscriptions module is active.
Comment #3
salvisSubscriptions 1.x is known to be buggy and it's unsupported.
We (a new team) are working hard on 2.0, which was rewritten from scratch (because it turned out to be unfeasible to try to fix 1.x). 2.0 is currently in beta test and you can help to bring it forward by testing and providing feedback.
Comment #4
salvisSubscriptions 2.0 is released and 1.x is now officially obsolete.
Comment #5
kenorb commentedBugs summary related to '134217728 bytes exhausted' issue:
Watchdog - #167424: Cron jobs fail, all connected functionality (search, other modules) ceases to work
Content Access - #145523: Unable to rebuild permissions or install/uninstall module
IP to Country - #115027: Out of Memory on Install
Contemplate - #230885: CCK activates triggers Fatal error
Devel - #234581: Fatal memory size error #229386: Memory leak
Simplenews - #205798: "Fatal error: Allowed memory size of"...When I click on drupal/?q=admin/content/newsletters/settings
Content Management Filter - #324351: Pager not keeping accurate records on filter
FileField Paths - #325973: multiple upload
Node import - #235433: Out of Memory error when running any import #246746: loop error