Support » Plugin: Responsive Flickr Gallery » Memory bug

  • Hi,
    my installation was somehow generating overload in the server. Looking at the apache log I found several of these lines:
    Allowed memory size of 134217728 bytes exhausted (tried to allocate 131072 bytes)
    in /…/wp-content/plugins/responsive-flickr-gallery/index.php on line 308

    Increasing the php memory limit does not work, it will just reach the limit of the available memory.

    https://wordpress.org/plugins/responsive-flickr-gallery/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Lars Schenk

    (@larsschenk)

    “Allowed memory size exhausted” occurs when you try to use/load a very large gallery (maybe the whole photo stream).

    Two possible solutions:

    a)
    Increase memory limits:
    http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    b)
    Avoid using “Photostream” when you have many photos. Don’t use [RFG_gallery] or [RFG_gallery id=’0′].
    Define and use a gallery that contains fewer photos:
    Add a new gallery. Use “Gallery Source” with “Photoset” and select a set that has a reasonable number of photos for the memory available.
    Use the newly created gallery to find out it that fits into memory:
    [RFG_gallery id=’1′] if it was your first created gallery.

    Good luck.

    Thread Starter lezzidan

    (@lezzidan)

    Hi,
    I had already set the memory limit to an higher value, what it does is reaching anyway this limit and then it crashes. Of course I use Photosets and I create galleries connected to one of those. I think it’s not related to the size of the gallery, I have posts with 80 photos galleries opening fine and other with 55 photos causing the crash.

    The strange thing is that if I create a new gallery pointing to the same Flickr photo album then it works.

    Thread Starter lezzidan

    (@lezzidan)

    Another error (not critical): Warning: Invalid argument supplied for foreach() in wp-content/plugins/responsive-flickr-gallery/rfg_add_galleries.php on line 53

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