Memory consumption

Hi all , i want to calculate the time taken to load the web page with the memory consumption.for a eg. if i want to load the loading time of webpage( need to wait until the full page getting load) and memory of the perticular page alone!
i dont know to measure memory part i dont know from where i have to take and measure.