Path: utzoo!attcan!uunet!mcrware!pgthor!dev386!beckman From: beckman@dev386.UUCP (Zacharias Beckman) Newsgroups: comp.windows.ms Subject: Re: Problem seen in 286vs386 machine Summary: Global memory should not remain locked... Message-ID: <438@dev386.UUCP> Date: 16 Feb 89 14:44:27 GMT References: <1850002@hpvcfs1.HP.COM> Organization: University of Iowa, Iowa City Lines: 21 In article <1850002@hpvcfs1.HP.COM>, divo@hpvcfs1.HP.COM (Mark Divittorio) writes: > When blipping the DOS window I get an error message that there is not enough > memory to display the directory. An ABOUT shows the proper (close) amounts > of conventional and expanded memory. Disc space is another issue. I should > have ~20M free, but it shows 60M (it is a 40M drive). One reason for this could be that you have locked the global memory for the duration of your application. This is considered a HORRIBLE NO-NO. It has the effect of creating a brick wall in memory, thereby making it difficult for other applications to request large chunks of memory. Try unlocking it when you give up control of your application. BTW, the About box will only show an approximation of available memory; it is subject to errors due to fragment- ation of memory. I've no clue as to the disk space problem, though... Zacharias J. Beckman ... gatech!mdt!pgthor!dev386!beckman ... uunet!mcrware!pgthor!dev386!beckman (319) 354-5116 (319) 351-1993 Ink: A villainous compound of tannogallate of iron, gum-arabic, and water, chiefly used to facilitate the infection of idiocy and promote intellectual crime.