Title: Jetpack 3.5.3 Upgrade Causing PHP Memory Allocation Errors
Last modified: August 24, 2016

---

# Jetpack 3.5.3 Upgrade Causing PHP Memory Allocation Errors

 *  Resolved [michaelsandmichaels](https://wordpress.org/support/users/michaelsandmichaels/)
 * (@michaelsandmichaels)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/)
 * I applied the Jetpack update to around 60 websites, and 3 experienced problems
   afterward—two of which are using a customized child theme of iThemes Builder 
   Madison and the third using an Enfold child theme. One of the sites also has 
   an identical test site that works fine—the only difference being that Jetpack
   is not activated on the test site. All of our sites are on the same server using
   the same PHP configuration, and the majority are custom Builder child themes.
 * I temporarily deactivated Jetpack on all 3 sites, which solved the problems. 
   When Jetpack is activated, however, I experience memory allocation errors in 
   the back end (the front ends appear unaffected). On one site, these errors occur
   as I navigate to different sections of the back end such as the Plugins or Widgets
   page. On the other sites (one Madison child and the other Enfold child), a Fatal
   Error message appears in the WordPress News feed section of the Dashboard:
 * `Fatal Error: Allowed memory size of 67108864 bytes exhausted (tried to allocate
   287209 bytes) in ../public_html/wp-includes/wp-db.php on line 1219`
 * Jetpack appears to be artificially throttling the PHP memory, which the server
   reports as 256MB. All is fine when Jetpack is deactivated, but when activated,
   it’s like it reverts to 64MB (on these particular sites, anyway, which makes 
   me wonder if there’s a conflict between Jetpack and these specific themes).
 * I really need to get Jetpack reactivated on these sites again but want to make
   sure the conflict is resolved. Please let me know if you have any insights into
   this issue and what I can do to fix it. I can provide additional details if desired.
 * Thank you!
 * Melissa 🙂
 * [https://wordpress.org/plugins/jetpack/](https://wordpress.org/plugins/jetpack/)

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/page/2/?output_format=md)

 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 11 months ago](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/#post-6174382)
 * I haven’t heard about that issue before, but I’ll be happy to look into it!
 * Could you try installing [that plugin](https://wordpress.org/plugins/send-system-info/)
   on your site, and send me the results [via this form](http://jetpack.me/contact-support/)?
 * Thanks!
 *  Thread Starter [michaelsandmichaels](https://wordpress.org/support/users/michaelsandmichaels/)
 * (@michaelsandmichaels)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/#post-6174394)
 * Thank you, Jeremy, and will do!
 *  Thread Starter [michaelsandmichaels](https://wordpress.org/support/users/michaelsandmichaels/)
 * (@michaelsandmichaels)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/#post-6174478)
 * Jeremy,
 * I just wanted to confirm that you received the system reports for all 3 sites
   I sent the other day. Any clue as to what the conflict may be and what can be
   done to resolve it? I’d really like to get Jetpack running on these sites again!
 * Thanks, Jeremy!
 * m. 🙂
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 11 months ago](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/#post-6174483)
 * I just had a look at them, thank you!
 * It seems that the memory limit is to 40MB on all 3 sites:
 * `WordPress Memory Limit: 40MB`
 * Could you try to increase that limit by following the instructions [here](http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP),
   and let me know if it helps?
 * Thanks!
 *  Thread Starter [michaelsandmichaels](https://wordpress.org/support/users/michaelsandmichaels/)
 * (@michaelsandmichaels)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/#post-6174494)
 * Jeremy,
 * Wow, I didn’t realize an artificial limit was being imposed for WordPress specifically.
   The server allocates 256mb, and ServerBuddy reports that for each of the sites.
 * I went ahead and increased the memory limit for one of the sites per your instructions.
   As soon as I attempted to activate Jetpack, I got the following error:
 * Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate
   3200 bytes) in /home/../public_html/wp-content/plugins/jetpack/modules/custom-
   post-types/nova.php on line 844
 * The front end is fine, but attempting to access any part of the back end displays
   the white screen of death. It is only when I deactivate Jetpack via FTP that 
   I can gain access to the back end again.
 * Thoughts?
 * Thanks, Jeremy!
 * m. 🙂
 *  [tumptyteapot](https://wordpress.org/support/users/tumptyteapot/)
 * (@tumptyteapot)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/#post-6174495)
 * having the same problem so following, thanks for posting far more eloquently 
   than I could have!
 *  Thread Starter [michaelsandmichaels](https://wordpress.org/support/users/michaelsandmichaels/)
 * (@michaelsandmichaels)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/#post-6174496)
 * Aww, thanks tumptyteapot! I’m glad this will be useful for others as well. Now
   let’s hope we can find the solution 🙂
 * Ta,
 * m. 🙂
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 11 months ago](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/#post-6174497)
 * > Fatal error: Allowed memory size of 41943040 bytes exhausted
 * As you can see, the memory limit is still there, locking your site at 40MB. You
   could try running the Send System Info plugin once again to confirm that.
 * If you’ve already made the changes suggested in the codex, and if that doesn’t
   seem to take, I’d suggest that you contact your hosting provider and ask them
   if they limit the amount of memory allocated to PHP on WordPress sites.
 * Let me know how that goes.
 *  Thread Starter [michaelsandmichaels](https://wordpress.org/support/users/michaelsandmichaels/)
 * (@michaelsandmichaels)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/#post-6174498)
 * Jeremy,
 * I don’t seem to be having any luck changing this at the wp-config level on individual
   sites, so I’ve contacted our server guru to see if he can tweak that setting 
   at the server level. I don’t believe he has any such limits in place, but perhaps
   a server patch imposed this limit as a security precaution.
 * I still find it odd that only 3 out of our 60 sites are having this issue when
   all have the exact same server configuration. Hmm …
 * I’ll let you know what I find out from our server guru.
 * Thanks, Jeremy!
 * m. 🙂
 *  Thread Starter [michaelsandmichaels](https://wordpress.org/support/users/michaelsandmichaels/)
 * (@michaelsandmichaels)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/#post-6174503)
 * I am happy to report that all 3 websites are functioning properly with Jetpack
   now!
 * Below is the solution. Add the following code to your wp-config.php file as Jeremy
   suggested above:
 * /** Increases WordPress memory limit. */
    define( ‘WP_MEMORY_LIMIT’, ’64M’ );
 * Most importantly, add this code BEFORE the stop editing line:
 * /* That’s all, stop editing! Happy blogging. */
 * Thanks to our brilliant server guru for pointing out the proper location of the
   code, which immediately solved the problem. The new memory limit went into effect,
   and I was able to successfully activate Jetpack on all 3 sites without errors.
   Huzzah!
 * Thanks, Jeremy!
 * m. 🙂
 *  [tumptyteapot](https://wordpress.org/support/users/tumptyteapot/)
 * (@tumptyteapot)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/#post-6174525)
 * no luck here, I added:
 * define( ‘WP_MEMORY_LIMIT’, ’96M’ );
    before // ** MySQL settings – You can get
   this info from your web host ** // and /** Increases WordPress memory limit. */
   define( ‘WP_MEMORY_LIMIT’, ’64M’ ); before /* That’s all, stop editing! Happy
   blogging. */
 * It stalls at unpacking if I download Jetpack via the dashboard but I seem to 
   have got it to upload ok via ftp…..
 * fingers crossed it will be ok but did I do it properly?
 *  Thread Starter [michaelsandmichaels](https://wordpress.org/support/users/michaelsandmichaels/)
 * (@michaelsandmichaels)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/#post-6174526)
 * Jeremy may be better-equipped to address this question, but it sounds like you’re
   trying to set the WP_MEMORY_LIMIT to two different numbers in two different places
   in the code.
 * If that’s the case, I would remove the first definition with 96M and just leave
   the 64M one before the stop editing line. I would then suggest upping 64M to 
   256M to make sure you’re still not bumping into memory limitations. Once you’re
   able to successfully install Jetpack and confirm there are no errors, you may
   be able to stair-step down (testing each increment) to a lower memory limit (
   e.g., 128M), which some recommend for server performance and security reasons.
 * Hope that helps!
 * m. 🙂
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 11 months ago](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/#post-6174527)
 * [@tumptyteapot](https://wordpress.org/support/users/tumptyteapot/) Your problem
   seems a bit different, and more related to resources made available by your host
   to unzip and download files.
 * If that’s the case, uploading and updating plugins manually should indeed do 
   the job.
 * If you continue to experience issues, could you please start your own thread,
   as per the [Forum Welcome](http://codex.wordpress.org/Forum_Welcome)?
    [http://wordpress.org/support/plugin/jetpack#postform](http://wordpress.org/support/plugin/jetpack#postform)
 * Thank you!
 *  [tumptyteapot](https://wordpress.org/support/users/tumptyteapot/)
 * (@tumptyteapot)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/#post-6174528)
 * fantastic, thank you. editing the config file has at least got Jetpack working–
   before this it would crash if I tried to FTP it, so with your help I am doing
   much better with it than I was before.
    I’ll sort out the duplicates as well 
   and post fresh if the problem persists.
 *  Thread Starter [michaelsandmichaels](https://wordpress.org/support/users/michaelsandmichaels/)
 * (@michaelsandmichaels)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/#post-6174529)
 * So glad to hear you’re making progress!
 * m. 🙂

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/page/2/?output_format=md)

The topic ‘Jetpack 3.5.3 Upgrade Causing PHP Memory Allocation Errors’ is closed
to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [Jetpack Conflict](https://wordpress.org/support/topic-tag/jetpack-conflict/)
 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 17 replies
 * 4 participants
 * Last reply from: [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/jetpack-353-upgrade-causing-php-memory-allocation-errors/page/2/#post-6174636)
 * Status: resolved