My site went down with this weird error after enabling the Bio Module
| Project: | Bio |
| Version: | 5.x-1.2 |
| Component: | Code |
| Category: | support request |
| Priority: | critical |
| Assigned: | tyler-durden |
| Status: | duplicate |
Jump to:
"Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1934357 bytes) in /includes/bootstrap.inc on line 635"
I installed a few other smaller modules like "Link" and I think one more, but there were no problems with them. This error happened as soon as I enabled Bio. The next screen after enabling showed this, and now this is all I get through my whole website. It's not live, i've been dabbling with Drupal since I am an unhappy Joomla user currently. I was about 1 month into my 3 month project, so i'm quite nervous.
I removed the function listed above, but there were new errors in another area calling that function. When that call to function was removed, new errors appeared on a completely new file regarding this function, so I stopped. It sound slike there is some corrupted data in the database, Here is the line of code for 635.
function check_plain($text) {
return drupal_validate_utf8($text) ? htmlspecialchars($text, ENT_QUOTES) : '';
}
Please help !! I don't have any real backups to revert to, but i'm hoping there is a way to remove the BIO module completely, including it's database entries (where I think the problem is).
Any suggestions? Thanks!

#1
#2
2 ways to solve this :
- Increase your memory_limit in your php.ini file
or remove some modules
This is not a problem specific to bio but rather to the number of modules that are on your site.
#3
I have the same problem. It works fine for the default Biography content type, but when I use my own profile content type which has 10 field groups and 83 fields, I get this:
I did have nodeprofile & related modules installed but de-activated (not uninstalled) to see if Bio would work for me better. Unless the Bio module is an extreme memory-hog or the interaction between CCK with large numbers of fields and bio hogs memory, it doesn't seem to make sense.
Also why is the "tried to allocate" number smaller than the "allowed memory size"?
I do have a lot of other modules installed but never got a memory error before.
I am running Drupal 5.9
Any further help or suggestions would be appreciated.
#4
"max_allowed_packet" a different error from "Allowed memory size of 33554432". Specifically, it's a MySQL configuration setting. You can either update (or have your server admin update) the max_allowed_packet value, or you can remove some unused fields from your content types.