> They could, but that's a lot like just making swap be manual.
Sure. Isn't that a good thing? Rarely-used data can be swapped out to storage allocated for the purpose, as you desire, and too-large working sets don't have to hose the machine.
> I don't mean the code itself, I mean all the data it builds up for something that isn't needed.
I guess I don't often run programs that waste large amounts of memory for no reason. Either my working set fits or it's too large, and swap only matters if it's too large.
Is Java the typical beneficiary here?