Determining memory consumption of web application