Title: Memory leak wp_options
Last modified: October 23, 2019

---

# Memory leak wp_options

 *  Resolved [cjrussell](https://wordpress.org/support/users/cjrussell/)
 * (@cjrussell)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/memory-leak-wp_options/)
 * Our site’s wp_options table has been growing rapidly to the point it crashed 
   our server, so we started investigating which plugin was causing the leak. We
   were able to pinpoint the issue directly to Ultimate Member. The table grows 
   by about 1 MB per minute. Here is a section of the database’s binlog (it repeats
   like this over and over):
 * [https://ibb.co/jMzvXRC](https://ibb.co/jMzvXRC)
 * As soon as we disable UM, the leak stops. We tried to disable the user cache,
   it had no effect. We are using the latest version, 2.0.56.
    -  This topic was modified 6 years, 7 months ago by [cjrussell](https://wordpress.org/support/users/cjrussell/).

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

 *  Plugin Support [Ultimate Member Support](https://wordpress.org/support/users/ultimatemembersupport/)
 * (@ultimatemembersupport)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/memory-leak-wp_options/#post-12061649)
 * Hi [@cjrussell](https://wordpress.org/support/users/cjrussell/),
 * Thanks for letting us know about this issue.
    The fixes will be available in 
   the next update which will be released soon. Adding this code on init callback
   in your functions.php file will fix this issue.
 *     ```
       add_action( 'init', 'my_custom_on_init' );
       function my_custom_on_init() {
       UM()->options()->update( 'um_flush_stop', 1 );
       }
       ```
   
 * Regards.
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/memory-leak-wp_options/#post-12249680)
 * Hi [@cjrussell](https://wordpress.org/support/users/cjrussell/),
 *  This thread has been inactive for a while so we’re going to go ahead and mark
   it Resolved.
 * Please feel free to re-open this thread if any other questions come up and we’d
   be happy to help. 🙂
 * Regards,

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

The topic ‘Memory leak wp_options’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/memory-leak-wp_options/#post-12249680)
 * Status: resolved