Ah, that function is only available in php 4.3.2 and above and php 5. This is part of the diagnostic code so you can see how much memory is being used by the script.
In some instances certain php setting need to be adjusted (php.ini) to allow more memory usage and/or longer execution time. We should be able to do a work around for you.