Title: Allowed Memory
Last modified: March 31, 2020

---

# Allowed Memory

 *  Resolved [jgarrobo](https://wordpress.org/support/users/jgarrobo/)
 * (@jgarrobo)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/allowed-memory-5/)
 * Hello,
    I’ve the last pro version installed in my wordpress. I’ve 3 adSens in
   each post with this tool. The three ads are the same for all the post. Well, 
   I detected that some post like ([https://www.mistercomparador.com/noticias/velocidad-internet-para-jugar-fortnite/](https://www.mistercomparador.com/noticias/velocidad-internet-para-jugar-fortnite/))
   returns a 500 error. I went to apache error log and it show:
 * `PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted(
   tried to allocate 36864 bytes) in [...]/wp-content/plugins/advanced-ads/public/
   class-advanced-ads.php on line 847`
 * Previous the memory size was in 128MB and the log show me that the error was 
   because need 134MB. After I upgrade the size to 256MB and now the error show 
   that needs 268MB.
 * Please, Can you help me?
    Thank you. Best Regards
 * Update:
    I detected that it is happend since 13th of march that I update the 
   plugin to 1.17.5 version. Today I updated to the las version and the problem 
   continues.
    -  This topic was modified 6 years, 2 months ago by [jgarrobo](https://wordpress.org/support/users/jgarrobo/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fallowed-memory-5%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * (@webzunft)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/allowed-memory-5/#post-12607041)
 * Hi jgarrobo,
 * thanks for reaching out.
 * I checked the code you are referring to. It stayed unchanged in 1.17.5. You can
   test a previous version download 1.17.4 [here](https://downloads.wordpress.org/plugin/advanced-ads.1.17.4.zip).
 * Downgrading is not a long-term option, of course. I am just curious to learn 
   if I missed a significant change. Even if it shows that the cause is not in Advanced
   Ads, I would be happy to see if we can help prevent similar issues in the future.
 * Since you mention that you are a Pro user I would kindly ask you to reach out
   through [customer support](https://wpadvancedads.com/support/) since the forum
   is for users of the free version only. You can just refer to this thread.
 * Thanks,
    Thomas
 *  Plugin Author [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * (@webzunft)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/allowed-memory-5/#post-12621844)
 * Hi [@jgarrobo](https://wordpress.org/support/users/jgarrobo/),
 * did you see my reply or have you been able to resolve the problem yourself?
 * Best regards,
    Thomas
 *  Plugin Author [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * (@webzunft)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/allowed-memory-5/#post-12677242)
 * Hi [@jgarrobo](https://wordpress.org/support/users/jgarrobo/),
 * my colleague was able to create a loop in the line of code you posted based on
   a thread you opened with another plugin. That issue also happens when Advanced
   Ads is disabled so we are not able to prevent it.
 * Please let me know if you found a solution by now.
 * Best regards,
    Thomas
 *  Thread Starter [jgarrobo](https://wordpress.org/support/users/jgarrobo/)
 * (@jgarrobo)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/allowed-memory-5/#post-12677367)
 * Hi [@webzunft](https://wordpress.org/support/users/webzunft/),
    I’m sorry because
   I couldn’t answer early. I continued research about the error. I disabled your
   plugin and the error was showing in other plugins. The problem is not of your
   plugin, defact I enabled again and I very happy with the plugin. Other plugin(
   with the bug) was updated at the same time. I fail because the error was showed
   in your plugin backoffice. I’m sorry because I stole your time and thank you 
   so much! Best Regards
 *  Plugin Author [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * (@webzunft)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/allowed-memory-5/#post-12677490)
 * Hi jgarrobo,
 * thanks for the update.
 * I am happy to read that you were also able to find the solution!
 * If you enjoy using Advanced Ads so far, would you find a minute to say it [here](https://wordpress.org/support/plugin/advanced-ads/reviews/#new-post)?
 * All the best to you and your project!
 * Thanks,
    Thomas

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

The topic ‘Allowed Memory’ is closed to new replies.

 * ![](https://ps.w.org/advanced-ads/assets/icon-256x256.gif?rev=2773443)
 * [Advanced Ads – Ad Manager & AdSense](https://wordpress.org/plugins/advanced-ads/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-ads/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-ads/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-ads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-ads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-ads/reviews/)

## Tags

 * [allowed memory](https://wordpress.org/support/topic-tag/allowed-memory/)
 * [ram](https://wordpress.org/support/topic-tag/ram/)

 * 5 replies
 * 2 participants
 * Last reply from: [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/allowed-memory-5/#post-12677490)
 * Status: resolved