revert r30583, it breaks -ramsize option (no whatsnew)