First time here? Check out the FAQ!
answered 14 years ago
get_memory_usage() is probably what you want.