I'm not sure if this can apply to the most commonly used software. A browser can't know in advance how much memory it would need. Same thing applies for audio, image or video editing software. Probably office suites too.
This might be feasible with some limited-in-features apps, like an audio/video player, an IM client, etc...
This might be feasible with some limited-in-features apps, like an audio/video player, an IM client, etc...