Forums

iimage-browser1.4.2 (fatal error) need help to fix. (3 posts)

  1. swordfish
    Member
    Posted 6 years ago #

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4096 bytes) in /usr/local/share/doc/vhost/gangavalli.com/httpdocs/blog/wp-admin/iimage-browser.php on line 312

    This is the 312 line:
    $image = imagecreatefromjpeg($file);
    ==========

    Anyone know what is wrong?
    I am getting this error when i am trying to create thumbnails in the popup of the iimage browser.

    Need your help to fix the issue.

  2. Kafkaesqui
    Moderator
    Posted 6 years ago #

    You're hitting a limit on your server in the available memory assigned to any PHP process, which is typically left at its default setting (8MB). The GD/graphics library functions are pretty memory-intensive.

    If this is a hosted site, you could try asking them if they'd increase the limit. Alternatively if this is self-hosted or you are able to access the PHP config file (php.ini), you could modify the memory_limit setting.

  3. swordfish
    Member
    Posted 6 years ago #

    unfortunately the site is not self hosted and also the host might not change anything in the php.ini file.
    I asked them for a change for some other issue and I was replied with a sorry.

    Can you guide me with any other plugin with which i can post thumbnails into posts?
    Please let me know.

Topic Closed

This topic has been closed to new replies.

About this Topic