Title: WordPress Plugin Memory Leak Help
Last modified: August 19, 2016

---

# WordPress Plugin Memory Leak Help

 *  [-JFK-](https://wordpress.org/support/users/-jfk-/)
 * (@-jfk-)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-plugin-memory-leak-help/)
 * I have written the following plugin from scratch, unfortunately I believe it 
   is causing “Out of memory” exceptions.
 * Can anyone help me find the leak?
 * It might have something to do with how I am using the GLOBAL variables:
 * _[Huge chunk of code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [-JFK-](https://wordpress.org/support/users/-jfk-/)
 * (@-jfk-)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-plugin-memory-leak-help/#post-1899081)
 * second part of code… got cut off:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_

Viewing 1 replies (of 1 total)

The topic ‘WordPress Plugin Memory Leak Help’ is closed to new replies.

## Tags

 * [code review](https://wordpress.org/support/topic-tag/code-review/)
 * [memory leak](https://wordpress.org/support/topic-tag/memory-leak/)
 * [plugin-development](https://wordpress.org/support/topic-tag/plugin-development/)

 * 1 reply
 * 1 participant
 * Last reply from: [-JFK-](https://wordpress.org/support/users/-jfk-/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/wordpress-plugin-memory-leak-help/#post-1899081)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
