backported long-standing bug 941837 (vmem fragmentation) fix, while
waiting for 837835, 767343, 930797 and dozen related ones in this bugware