[xdebug-general] PHP5 DOM memory coverage

From: Michael Kimsal <mgkimsal[@]conduit-it.com>
Date: Thu, 30 Jun 2005 12:14:00 -0400

Hello all:

I'm seeing memory usage numbers in xdebug which don't make sense. We're using
the PHP5 DOM extension to load a file. The files themselves are easily over
200k, yet after doing a domdocument->load, I see no significant change

    0.1480 4723008 +536 ->
DOMDocument->load() /data/web/root/cms/tisco/live/ses_core-4.5.101/application/cms4_module_salescatalog/classes/ActionProcessor.clss:824
    0.1489 4722896 +4294967184 ->
XSLTProcessor->importStylesheet() /data/web/root/cms/tisco/live/ses_core-4.5.101/application/cms4_module_salescatalog/classes/ActionProcessor.clss:824

Additionally, as you can see, when the memory usage goes down, the delta is
+4gig. But that's not why I'm writing. :)

That DOMDocument->load() was loading a file that was probably 220k, yet xdebug
is only reporting a change of 536 bytes in memory usage.

Is there something else I need to setup to track DOM memory usage? Is this a
known (or unknown?!) issue with xdebug?

Thanks! :)

Michael Kimsal
Received on Fri Jul 01 2005 - 16:41:33 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST