After installing OS X Lion last week, one of the things I've noticed is that Safari tends to run away with enormous amounts of RAM over time. A subprocess called "Safari Web Content" will sometimes use over a gigabyte of RAM. Since my Mac maxes out at 4 GB, and since it's a rare day that I'm only using Safari and nothing else, having so much of my system's RAM gobbled up by one process was bogging everything down.
Safari Web Content is a sandboxed subprocess of Safari that runs all webpage rendering. If you've got several dozen tabs open at once, it might make sense for the subprocess to use up that much RAM; however, I was seeing huge amounts of RAM usage even with only three or four tabs open. Four webpages shouldn't be consuming over a gigabyte of RAM. Many people's kne