WordPress.org

Forums

Memory Viewer
What does the output mean? (3 posts)

  1. wpvince
    Member
    Posted 3 years ago #

    Great idea, but can anyone provide an explanation of the results?
    Not sure how this will help us to identify root cause of what may be using up most memory.

    Here is the output from one of my WP sites.

    ACTION HOOK: plugins_loaded - 16.31 MBs
    ACTION HOOK: setup_theme - 16.32 MBs
    ACTION HOOK: init - 18.02 MBs
    ACTION HOOK: wp_head - 18.35 MBs
    ACTION HOOK: loop_start - 18.79 MBs
    ACTION HOOK: loop_end - 18.79 MBs
    ACTION HOOK: wp_footer - 18.82 MBs
    ACTION HOOK: plugins_loaded - 18.76 MBs
    MAX MEMORY USED: 19.17 MBs

    http://wordpress.org/extend/plugins/memory-viewer/

  2. Brad Markle
    Member
    Plugin Author

    Posted 3 years ago #

    Hi wpvince!

    Great idea, but can anyone provide an explanation of the results?

    The results you see are showing you current memory usage during certain stages of your WordPress site loading. For example, after WordPress sets up your theme, it was using 16.32MB. Later in the execution, after WordPress began the loop, it was using 18.79MB.

    Not sure how this will help us to identify root cause of what may be using up most memory.

    The output you see won't help identify where the problem is, but may shed some light on where to start looking. The results you pasted don't appear that your script is using excessive memory usage.

    I'm currently looking into updating the plugin to show how much memory each MySQL query takes, and that will definitely give you better information for identifying the root cause of what may be using the most memory.

  3. Brad Markle
    Member
    Plugin Author

    Posted 3 years ago #

    Hi wpvince. I just wanted to touch base and let you know that I've recently updated the memory viewer plugin. Not only does is show memory usage now, but it also shows you data about your MySQL queries, and CPU time. We also have thorough online documentation on the plugin available here:

    Using InMotion Hosting's Memory Viewer WordPress Plugin

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Memory Viewer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic