Title: Can&#039;t display gallery &#8211; Memory usage error
Last modified: August 21, 2016

---

# Can't display gallery – Memory usage error

 *  Resolved [cmarois](https://wordpress.org/support/users/cmarois/)
 * (@cmarois)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/cant-display-gallery-memory-usage-error/)
 * I am trying to test NextGEN to see if I want that plugin, I created a Gallery
   with only 3 pictures in it, and I added the gallery on a test page.
 * When trying to display the page nothing shows and I have this error in the source:
   `
   <b>Fatal error</b>: Allowed memory size of 134217728 bytes exhausted (tried to
   allocate 3797 bytes) in <b>/--site--/plugins/nextgen-gallery/products/photocrati_nextgen/
   modules/nextgen_data/class.ngglegacy_thumbnail.php</b> on line <b>562</b><br /
   >`
 * Php version is 5.3.28 if that matters. Not really sure why it crashes, the pictures
   are normal camera pictures (4-5Mb)
 * Everything is basic setup in the NextGEN, I haven’t touched settings.
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [cmarois](https://wordpress.org/support/users/cmarois/)
 * (@cmarois)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/cant-display-gallery-memory-usage-error/#post-5024955)
 * Nevermind, going through the support forum, this plugin is way to unstable for
   my liking, going on to other ones.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/cant-display-gallery-memory-usage-error/#post-5025048)
 * [@cmarois](https://wordpress.org/support/users/cmarois/) – The memory issue would
   most likely be sorted out by increasing the PHP Memory Limit in your server environment.
 * Thanks!
 * – Cais.
 *  [tizz](https://wordpress.org/support/users/tizz/)
 * (@tizz)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/cant-display-gallery-memory-usage-error/#post-5025058)
 * [@cmarois](https://wordpress.org/support/users/cmarois/), Any plugins you use
   you will need to reduce significantly the size of the images, if you care the
   loading speed and the space on your server (and memory usage).
    At least 25 times
   smaller (~ 200kb each).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Can't display gallery – Memory usage error’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [tizz](https://wordpress.org/support/users/tizz/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/cant-display-gallery-memory-usage-error/#post-5025058)
 * Status: resolved