hello!

i'm using version Drupal 4.3.2.

I cannot upgrade--too much customized + built in the current running version.

I've read just about all the posts regarding 'out of memory' issues.

I've played with just about anything from

1-.htaccess
2-php_ini includes in the top of files
3-php.ini memory changing

along with max execution time.

I've gone as far as to allow php to utilize 500MB of memory :) (off line box) and upped the max execution time to 5 mins

When I go to

-administer-->content-->books-->my book

i get the dreaded

"Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 34785 bytes) in /export/home/stnicholas/html/modules/node.module on line 266"

It used to work way back, and I am not aware of what is causing it now.

Other than upgrade to a different version and/or up the mem limit + max execution time what is there to do?

It is a _memory_leak_ for a fact. I have no doubt about it.

i love drupal however i'll drop it cold if there's no other solution :)

Comments

london3’s picture

I guess you have allready tried it but you have to restart the Apache service each time you change php.ini.

Are Casilla
http://astartelecom.com - Independent VOIP Telecoms Broker. Consulting in Asterisk and Drupal
http://astbill.com - Billing, Routing and Management software for Asterisk and MySQL. Running on Drupal
AstBill DEMO: http://demo.astbill.com

sepeck’s picture

If you are still getting that error, then there is still a limit in your system. What does phpinfo say? What does your hosting company say? I use 32MB on my site just fine.

On another note.... 4.3.2?! are you nuts? Upgrade sooner than later :). The pool of knowledge for older versions is vansihing rapidly.

-sp
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

damien tournoud’s picture

"Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 34785 bytes) in /export/home/stnicholas/html/modules/node.module on line 266"

That means that there is still a 8M limit on. Are you sure you changed the good value in php.ini (the good one, as there can be several ones depending on your installation) and restarted apache?

albunix’s picture

thnx to all of you guys that replied.

i can't answer each and every one but here's my core reply

1-yep, the 8388608 bytes was given as an example

it is actually upped to 200MB now via .htaccess and i know that's the memlimit since i see it from phpinfo

2-i know it is a very old install, but i've got custom stuff etc that prohibit me from upgrading :) (not a lot of time dedicated to it also)

3-could it be i'm getting this, since the creator of the book pages is now deleted? i find that information has disappeared from certain book pages (vanished completely) i cannot administer those pages

damien tournoud’s picture

Does the memory exhaustion error always happen at line 266 ? This is the unpacking of old revisions:

if ($node->revisions) {
   $node->revisions = unserialize($node->revisions); <- that's line 266
}

You could try purging old revisions from your database.

albunix’s picture

damz:

thnx for the info.

I searched for how to do this (purge old revisions).

I think i did it correctly.

Still i'm experiencing difficulties. :-(

albunix’s picture

ehehe replying to own's post is always a charm :)

well seems i've got mysql table corruptin and i'll take
my chances and upgrade(from scratch)

thnx to all who tried to help