Added memory usage to debugLog

Debug log now show memory usage on every loaded page. Smarty should
handle all the stuff to minimize mem using.