Thanks, most of my functions dont exceed 5-10 lines of code...which confuses me more!

As for the memory usage, I use php for that:

round((memory_get_usage() /1024), 2)

and

round((memory_get_usage(true) /1024), 2)



Im developing on shared hosting, but on a linux system using apache, PHP5.2.