Fatal error: Out of memory (allocated 31981568) (tried to allocate 339522 bytes) in /home/sites/sunkendreams.co.uk/public_html/includes/database.mysql-common.inc on line 41

What i find strange is that sometimes it actually tries to allocate less than the available memory and still comes up with this error.

NOTE: THIS ONLY HAPPENS ON MODULE PAGE

I'v had a good look through the forums for specific answers but none seem to work. Am I overlooking something obvious?

MY SET-UP:
I have spoke to host, they said its ok to add php.ini file in root, which I have (128M limit)

shared hosting,
Drupal 6.13

Contributed Modules:
advanced_forum 4.00 KB Directory 17 Aug 14:23
advanced_profile 4.00 KB Directory 17 Aug 14:26
author_pane 4.00 KB Directory 17 Aug 14:38
captcha 4.00 KB Directory 17 Aug 14:16
cck 4.00 KB Directory 17 Aug 14:11
checkbox_validate 4.00 KB Directory 17 Aug 14:37
date 4.00 KB Directory 17 Aug 14:18
emfield 4.00 KB Directory 17 Aug 14:25
faq 4.00 KB Directory 17 Aug 14:26
fckconfig.js 13.60 KB Other File 17 Aug 18:02
fckeditor 4.00 KB Directory 17 Aug 17:39
fckeditor_php4.php 5.78 KB PHP Script 17 Aug 18:02
fckeditor_php5.php 5.76 KB PHP Script 17 Aug 18:02
filefield 4.00 KB Directory 17 Aug 14:38
fivestar 4.00 KB Directory 17 Aug 14:16
flashnode 4.00 KB Directory 17 Aug 14:27
google_analytics 4.00 KB Directory 17 Aug 14:16
image 4.00 KB Directory 17 Aug 14:17
imageapi 4.00 KB Directory 17 Aug 14:38
imagecache 4.00 KB Directory 17 Aug 14:18
imagefield 4.00 KB Directory 17 Aug 14:17
legal 4.00 KB Directory 17 Aug 14:30
messaging 4.00 KB Directory 17 Aug 14:38
notifications 4.00 KB Directory 17 Aug 14:27
og 4.00 KB Directory 17 Aug 14:25
pathauto 4.00 KB Directory 17 Aug 14:15
privatemsg 4.00 KB Directory 17 Aug 14:27
simplenews 4.00 KB Directory 17 Aug 14:22
token 4.00 KB Directory 17 Aug 14:15
user_relationships 4.00 KB Directory 17 Aug 14:28
views 4.00 KB Directory 17 Aug 14:14
views_bonus 4.00 KB Directory 17 Aug 14:27
votingapi 4.00 KB Directory 17 Aug 14:19
webform

Any thoughts?

Thanks in advance :)

Comments

ludo1960’s picture

..remember there is some changes you could make to mysql.cnf file

See here http://drupal.org/node/85768

WorldFallz’s picture

Did you verify that the php memory limit is in fact 128 (check the status report page)? If it is, trying raising it more and see if the error goes away eventually. Also, you might try turning off the update status module if you have it enabled.

vonny007’s picture

I'll look into both of your suggestions!

I'll let you if i get it sorted!

saltcod’s picture

same problem. updating from 6.13 -> 6.14 fixed it for me.