Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!ux1.cso.uiuc.edu!midway!gsbsun!valley From: valley@gsbsun.uchicago.edu (Doug Dougherty) Newsgroups: comp.os.msdos.desqview Subject: Memory needed in DV vs. memsize shown via LOADHI /GS Summary: QEMM's LOADHI shows memory usage 170K, DV needs at least 275K window Keywords: desqview qemm loadhi memory Message-ID: <1991Jun16.020113.28578@midway.uchicago.edu> Date: 16 Jun 91 02:01:13 GMT Sender: news@midway.uchicago.edu (NewsMistress) Organization: University of Chicago Lines: 29 I just setup a DV window for playing the game Klondike (A really nice solotaire game; much better than the one that comes with WIN3, BTW) To try to figure out how much memory to allocate to the DV window, I ran KL in Big DOS window using LOADHI /GS. I ran the game (played a full game) and LOADHI came back saying it required about 174K (0K resident) So I figured I'd leave a bit of slack and set the window size in DV (on the first page of Add/Change a Program) to 190. But when I ran it, it came back with "Klondike: Program too big to fit in memory". Well, some number of tries later, I determined that the magic number is somewhere between 250 & 275K (I.e., it works with it set to 275 [which is where I am leaving it] but fails at 250K) Why the discrepancy? (I could understand a small discrepancy, but 100K???) I had been given to understand that using LOADHI /GS like this *was* the approved method of figuring out how much mem a program used. (BTW, yes, I set the "Program....." field to KLONDIKE.EXE, so as to run it directly, rather than via COMMAND.COM) Also, as an aside, how exactly does DV load a program in a window when you give it a ".EXE" or ".COM" filename? Seems I've heard something about it using SHELL or some such as a sort of Q&D COMMAND.COM, but, interestingly enough, when I did "dir sh*" in my DV directory, it came back with "File not found". Whither it??? TIA, of course... -- (Another fine mess brought to you by valley@gsbsun.uchicago.edu)