• Hi there!
    I’m using WP 3.9 with NextGEN 2.0.61.
    I found a lot about Memory_limit errors, unfortunately nothing that helps me in my specific case.
    When i upload pictures or try to create new thumbnails (80x80px, set fix dimensions) of a file (max. length or height 1000 px – so not like i’m using huge pictures) i get a failure with ID 77:

    Waring: Cannot set memory_limit above master value of 64M (tired to set -1)  in /var/www/web147/html/wp-content/plugins/nextgen-gallery/non_pope/class.photocrati_cache.php on line 90
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web147/html/wp-content/plugins/nextgen-gallery/non_pope/class.photocrati_cache.php:90) in /var/www/web147/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/frame_communication/class.frame_event_publisher.php on line 74

    Actually creating the thumbnail works, just as i’m using some Lightroom-plugin to upload this always fails – and creating each thumbnail separately then is kind of annoying.

    I was wondering about the “Tried to set -1” as for me that looks like there was some function before that already failed (which should have returned the memory_limit that should have been set) – hope u understand what i want to say ??

    I read in some post about deactivating the memory_check – but as long as i don’t know what i’m doing i don’t like to just change stuff in the code…
    Tried to deactivate all other plugins, changed to 2014-theme, still the same problem.

    Hope, someone has a good idea what to do about that
    Jacques_Norris

    Server config:

    Operating System : Linux (64 Bit)
    Server : Apache
    Memory usage : 50.87 MByte
    MYSQL Version : 5.5.31-1~dotdeb.0
    SQL Mode : Not set
    PHP Version : 5.3.28-1~alfa.0
    PHP Safe Mode : Off
    PHP Allow URL fopen : Off
    PHP Memory Limit : 64
    PHP Max Upload Size : 8M
    PHP Max Post Size : 16M
    PCRE Backtracking Limit : 1000000
    PHP Max Script Execute Time : 30s
    PHP Exif support : Yes ( V1.4 )
    PHP IPTC support : Yes
    PHP XML support : Yes
    Graphic Library

    GD Version : bundled (2.1.0 compatible)
    FreeType Support : Yes
    FreeType Linkage : with freetype
    T1Lib Support : Yes
    GIF Read Support : Yes
    GIF Create Support : Yes
    JPEG Support : Yes
    PNG Support : Yes
    WBMP Support : Yes
    XPM Support : Yes
    XBM Support : Yes
    JIS-mapped Japanese Font Support : No

    https://www.ads-software.com/plugins/nextgen-gallery/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @jacques_norris – You’re memory limit is quite low based on your current usage, I would strongly recommend increasing it to at least 128 (or higher if possible). This should take care of the first error message (although there is another remote possibility for that message which should be addressed in our next release).

    As to the second message, let’s see what happens once you have the server memory limit increased.

    Thanks!

    – Cais.

    Thread Starter Jacques_Norris

    (@jacques_norris)

    Hi Cais,
    thanks for your kind answer – actually i have no idea why my memory usage is that high, i’m just using WordPress wir 2 activated plugins (NextGEN and some custom header image plugin), a very basic theme (basically toolbox with some adjustments in the CSS) and a german translation…
    Maybe i should write my webhosting-service about this, as my memory-limit is 64 MB – so i cannot increase it.

    Re the 2nd msg: i found out that the first error mostly comes when creating landscape-format pictures, portrait mostly works fine (and doesn’t give the 2nd error as well)

    I’ll let u know when in case i find out what’s using all my memory, otherwise i’m looking forward on your next release ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Memory_Limit failure (tired to set -1) on creating thumbs’ is closed to new replies.