Speicherverbrauch
Speicherverbrauch
memory_get_usage() sollte mir doch den Speicherverbrauch des Scripts in Bytes anzeigen, oder?
- Banger
- Ehemaliges Teammitglied
- Beiträge: 375
- Registriert: 03.05.2005 21:53
- Wohnort: Düsseldorf
- Kontaktdaten:
Ja.
=> http://de.php.net/memory_get_usage
=> 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.