hans.gerwitz.com

Intraapplication memory protection

I've gotten spoiled by modern PC OSes. I typically have an uptime of several weeks, and reboot only for major OS updates or new versions of SideTrack. This (along with Expos) enables my habit of using open windows as task management: leaving an email open as a separate window to remind me to respond, not closing IM chat windows until I've answered all questions brought up, contact windows for people I need to call, and document windows for items I need to proof.

Regularly, though, tasks-in-progress are represented by web pages related to research: often from the web view of our CVS repository, or a blog entry I came across in NetNewsWire I intend to read as time permits. Regularly, I have 4 or 5 windows open with several related tabs in each. Sometimes, the less critical issues are represented by tabs that have been waiting for two or three days.

Then, I'll visit some page that embeds a Java applet or Flash movie with a memory leak. So, Safari crashes. That tab doesn't just disappear, but the entire application exits, taking all that offloaded mental state with it. This leaves me a bit frustrated.

There has to be some way the Safari team can partition each page viewer into a protected memory space, providing bulkheads to shield the rest of my life from one misbehaving plugin.