• I am getting this error on my website http://www.kitwebster.com

    Fatal error: Out of memory (allocated 19660800) (tried to allocate 122880 bytes) in /home/kitweb/public_html/wp-includes/vars.php on line 90

    I have ben told its because my server is too weak. Its http://www.ventraip.com and I should transfer to something like digital ocean.

    The strange thing is the website doesnt host much content, its mainly off site on flickr and vimeo.

    Is there a way I can fix this error? Or an easy way to migrate to a new server?

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • How much memory do you currently have allocated in PHP? Can you create an info.php file with this code in it?

    <?php
    // Show all information, defaults to INFO_ALL
    phpinfo();
    ?>

    Normally, if you are getting an error the hosting provider should be able to look it up in the logs and tell you exactly what’s wrong.

    If you’re confident to jump into your wp-config.php file via FTP or your Cpanel you can search for a code like this

    // Set initial default constants including WP_MEMORY_LIMIT, WP_MAX_MEMORY_LIMIT, WP_DEBUG, WP_CONTENT_DIR and WP_CACHE.
    define(‘WP_CACHE’, true);
    define(‘WP_MEMORY_LIMIT’, ’96M’);
    define(‘WP_MAX_MEMORY_LIMIT’, ‘256M’);

    If you find this code add a higher number to increase your memory. If you can’t find this code – copy and paste it into your wp-config.php file and that should fix it 🙂

    Cheers

    Thread Starter Kit Webster

    (@kit-webster)

    Ive found out that for some reason there are these core dump files being created in my root directory which is eating up my bandwidth. I have no idea where they come from, some are saying its a server issue but this happened a few months ago and they didnt resolve it, im hoping they can resolve it!

    Core dumps are not good as they do eat up disk space very quickly. This however can be either a server issue or a plugin. Some debugging needs to take place.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Memory error’ is closed to new replies.