Skip to main content

What is the unit for memory values in XDebug traces?


What is the unit for memory values in Xdebug traces? bytes?



For instance, I have these lines:




TRACE START [2011-11-30 13:11:18]
0.2122 2618704 +489048 -> require_once(...) ...:8
...
0.4147 6847864 +64 -> strtr(string(34), array(128)) ...:21



So, does 6847864 = 6.5MB?


Source: Tips4allCCNA FINAL EXAM

Comments

  1. It is the same as memory_get_usage (and basicly any other notification about memory in PHP):


    Returns the amount of memory, in bytes, that's currently being
    allocated to your PHP script.

    ReplyDelete

Post a Comment

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?