Fatal Error : Out of memory(allocated) – what to do?
-
Hello everyone,
I have transferred my blog on VPS but after uploading my whole site, I am getting below error.
“Fatal error: Out of memory (allocated 20447232) (tried to allocate 30720 bytes) in /home/bollywd/public_html/wp-includes/vars.php on line 120”As per some other members’ suggestions I tried to change/put below codes.
1. Increase the memory limit setting in php.ini e.g. (memory_limit = 64M ;). Many hosts may not allow this.2. Increase the memory limit via .htaccess e.g. (php_value memory_limit 64M). Many hosts may not allow this.
3. Increase the memory limit via wp-config.php e.g. (define(‘WP_MEMORY_LIMIT’, ’64MB’);)
But they start giving me 500 internal error. Please help me.
- The topic ‘Fatal Error : Out of memory(allocated) – what to do?’ is closed to new replies.