Title: Executed too soon
Last modified: September 24, 2020

---

# Executed too soon

 *  [yanmorinokamca](https://wordpress.org/support/users/yanmorinokamca/)
 * (@yanmorinokamca)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/executed-too-soon/)
 * The number vary every time you refresh the same page in the admin. Since the 
   memory peak usage function is called in the admin_bar_menu filter, it doesn’t
   show the real peak usage on each page. Other plugins call this function much 
   later in the shutdown callback, which provide a more consistent value between
   each reload.

The topic ‘Executed too soon’ is closed to new replies.

 * ![](https://ps.w.org/memory-usage-bar/assets/icon-256x256.png?rev=1805481)
 * [Memory Usage Bar](https://wordpress.org/plugins/memory-usage-bar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/memory-usage-bar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/memory-usage-bar/)
 * [Active Topics](https://wordpress.org/support/plugin/memory-usage-bar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/memory-usage-bar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/memory-usage-bar/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [yanmorinokamca](https://wordpress.org/support/users/yanmorinokamca/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/executed-too-soon/)