A lot of people got fatal memory error in different case of Drupal use like uploading large resolution images, activating many modules at the same time, installing Drupal itself... Nothing happened even if we changed the memory limit in our php.ini. We got fatal memory error with all this case on our VPS server since we found a solution on this forum at this post. http://drupal.org/node/463234#comment-4911320

I decided to create a post to help other find that exact solution...

For a reason that we actually don't know, php memory limit set in php.ini file was not reflected on our VPS server (our Bluehost hosting too). The answer were in the problem... we got always the same error.

Fatal error: Allowed memory size of 33554432 bytes exhausted

33554432 bytes == 32MB (always 32MB was allowed to php script... its a php default value)

Putting the line «RLimitMem 128000000» on .htaccess file on our server root allow now (for real!) 128mb to php memory.

Everyhting work perfectly now!!
Hope that this post will help someone.

Orizon Média Team
www.orizonmedia.com