Support » Plugin: Memory usage db size » Limit seems incorrect

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor sLa Team


    Limit Seems Incorrect ? … umh!

    Yes, would I really have 268,435,456 megs or RAM?

    Plugin Contributor sLa Team


    Hey Mike, thanks for your report!

    For me is more important, but i have tested my plugin on various host, and various “localhost”, without reproduce this issue …

    Please test your “Mem Limit” with another similar plugin and report to me if the issue is the same or not 😉

    After report to me plugin name and result 🙂

    P.S. If you have code solution for this issue, i am happy to include your patch on my plugin and credit your batch …


    I tested several other plugins, they were doing the same thing.
    I looked at your code, it looks OK.
    However, I still see 268435456M

    this number is 256M in bytes
    MB = NumberOfBytes/1024/1024

    I cannot figure out why it prints like that because if I
    print (int) ini_get(‘memory_limit’);
    it prints 256

    but your line:
    prints 268435456

    But on another server it prints 128M, so the problem is only on this HostGator server.

    I guess a patch could be (because this fixes it)
    $memorylimit = (int) ini_get(‘memory_limit’);
    $content .= ‘ ~ Mem ‘ . $this->memory[‘wpmldbu-load’] . ‘ of ‘ . $memorylimit. ‘M’;
    return $content;`

    Plugin Contributor sLa Team


    Hostgator: shared, vps or dedicated?
    PHP version?
    SQL version?
    Hosting caching method?

    P.S. Please try my plugin (old official tag and new dev build) WP Overview (lite) and report if “limit value” is correct or not … thanks!


    Plugin Contributor sLa Team


    This issue was inserted as Ticket #4912267 on to Todo List for Future Development.

    Thanks to Mike Challis and all others users was send me same solution via Contact Form

    If are satisfied of this plugin, please, consider one Small Donation for my free work.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Limit seems incorrect’ is closed to new replies.