Quick question from the uninitiated …

What would cause a single random web page to use over 4GB of RAM?

I closed it - but wondering malicious? badly designed?