Path: utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!mips!prls!pyramid!infmx!etude!greggy From: greggy@informix.com (greg yachuk) Newsgroups: comp.windows.ms Subject: Re: "Not enough memory to run" error Keywords: memory, error Message-ID: Date: 24 Oct 90 19:59:52 GMT References: <3506@ssc-bee.ssc-vax.UUCP> Sender: news@informix.com (Usenet News) Organization: Informix Software, Inc. Lines: 47 When just using Extended Memory, SMARTDRV.SYS must be loaded *after* HIMEM.SYS. RAMDRIVE.SYS should also be loaded after HIHMEM.SYS, but you don't seem to be using it. If you load SMARTDRV.SYS before HIMEM.SYS, it will end up with zero memory for buffering. This might be the cause of your problem. I'm not sure how SMARTDRV.SYS interacts with Expanded Memory (assuming that's what EMM.SYS is for). Also, could there be contention between SMARTDRV.SYS and QUICKMEM2.SYS? simnet@ssc-vax.UUCP (Aileen Hsu) writes: > I want to call the SYSTEM function inside my Microsoft Windows Application whenthe user select a particular menu item. The problem is every time the > application attempts to execute the statement, a window comes up with > the Command title and says "Not enough memory to run". > I'm using Windows 286 ver. 2.0 and Windows SDK ver. 2.0 running on an > Everex 386 machine. I have 640K conventional memory, 2 MB expanded > and 4MB extended. My config.sys file has the following entries: > DEVICE=EMM.SYS AT 208 ND > BREAK=ON > BUFFERS=10 > FILES=20 > LASTDRIVE=E > SHELL=C:\DOS\COMMAND.COM /P /E:512 > DEVICE=C:\SMARTDRV.SYS 512 > DEVICE=C:\HIMEM.SYS > DEVICE=C:DOS\ANSI.SYS > INSTALL=C:C:\DOS\FASTOPEN.EXE C:=(50,25) > DEVICE=QUIKMEM2.SYS 256 > DEVICE=C:\UTIL\OX.SYS >IF I do the mem command after window is brought up, the machine still >has 450K conventional, 1.8MB expanded and 0 extended (don't know why) >memory left. Is this not enough to call SYSTEM. The Windows >application with the SYSTEM call is very simple, I created just to see >if it would work. >Can anybody out there help me with this since Microsoft no longer >provides free support for their SDK? >Any kind of help will be greatly appreciated. >Aileen Hsu -- Greg Yachuk Informix Software Inc., Menlo Park, CA 92025 greggy@informix.com | {uunet,pyramid}!infmx!greggy (415) 926-6300 --- I ask my brain for some assistance ... ---