Seite 1 von 1

Speicherverbrauch

Verfasst: 04.09.2006 15:53
von Achmed1
memory_get_usage() sollte mir doch den Speicherverbrauch des Scripts in Bytes anzeigen, oder?

Verfasst: 04.09.2006 15:57
von Banger
Ja.
=> http://de.php.net/memory_get_usage
int memory_get_usage ( void )

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

memory_get_usage() will only be defined if your PHP is compiled with the --enable-memory-limit configuration option.

Verfasst: 04.09.2006 16:46
von Achmed1
danke