To see why I created QSETUP look at this. PMWSETUP allows you to configure how much XMS will be alloc during startup but this only affects operation under RAW, XMS and VCPI mode. So under DPMI you will be allowed to alloc as much as possible. Before I created QSETUP program the QLIB package would do just that. If your application uses spawn...() functions then under DPMI there will be no RAM for the new apps under DPMI even if you use PMWSETUP. So what QSETUP does is configure how much QLIB will allocate at max during startup. But you still must use the PMWSETUP utility a long with QSETUP or else PMODE/W will still alloc all ram under VCPI, XMS or RAW modes.