Solved

Not enough memory to start windows

Posted on 1998-01-04
5
204 Views
Last Modified: 2013-12-16
I reinstalled Win 95 today.  The drive had Windows on it once before but I began using it as a backup only drive.  To save space I had deleted the Windows and DOS directories.  Today I placed that drive back in service as the main drive and "reinstalled" Windows on it.  WIndows detected that it had been installed before and I selected the option for a full reinstall.

When Windows first starts I get the error message "Not enough memory available to run Windows.  Quit one or more programs or restart your computer."

Config.sys has the following lines:
Device=C:\Windows\Himem.sys
Device=C:\Windows\eMM386.exe RAM ON
Buffers=20,0
Files=20
Devicehigh=C:\Windows\Ramdrive.sys 1000/e

The ONLY thing I am loading in auotexec.bat is DOSKEY.  

If I start with either the RAM drive OR DOSKEY remmed out I can start Windows.  Now I don't really _need_ Doskey but that fact that I get this error leads me to beleive that something else is wrong.  I have used a similar configuration on the last master drive with no problem.  If I boot into Windows via safe-mode I have no trouble starting Windows. MSKB indicates that the error message results when a RAM drive is defined oas being over 15 megs, but I am well under that.

Running  P75, stealth video card, SB 16 sound card, ComStar 33.6 modem, 32 megs RAM, Conner 540 HD.

0
Comment
Question by:Kuba
  • 3
  • 2
5 Comments
 
LVL 25

Accepted Solution

by:
dew_associates earned 70 total points
ID: 1752971
Hi Kuba, welcome back!

Change your config.sys to this and try it:

Device=C:\Windows\Himem.sys
Device=C:\Windows\eMM386.exe NOEMS
Dos=HIGH,UMB
Buffers=30,0
Files=40

If this still doesn't take care of the problem, check your Msdos.sys file using wordpad for any errors. Msdos.sys is created from config.sys, autoexec.bat etc.

Dennis
0
 

Author Comment

by:Kuba
ID: 1752972
Hi Dennis,

Sorry to _be_ back <VBG>.  I am assuming that you meant for me to keep the RAM disk line in (which I did).  That was too easy.  Booted just fine.  But a followup question remains.
It looks like I might not need the EMS.  The system has a dedicated use.  When the program was DOS based I needed EMS but a quick test looks like it is not going to be needed in the Win 95 version.  Even so, that config.sys was booting just fine for me for many weeks.  Why doesn't it work now?  
0
 
LVL 25

Expert Comment

by:dew_associates
ID: 1752973
As you begin working with Windows and add various programs, windows needs additional buffering as well as the ability to open more than the basic number of files. By limiting it to 20 or 30, it couldn't fully load the OS. You may not need the Ramdrive entry either. Insert a REM before the line, save the file, reboot and try it!
Dennis

BTW: Your always welcome here, that's what this site is all about!
0
 

Author Comment

by:Kuba
ID: 1752974
The thing with the files is that this was a fresh installation of Windows and should have resulted in fewer files I would think.  I do need the RAM drive.  The program I run uses it to speed things up.  Although I would imagine that as the author completes the conversion from DOS to Windows he may eliminate that need.
0
 
LVL 25

Expert Comment

by:dew_associates
ID: 1752975
There's no way to anticipate file usuage with Win95. The numbers I gave you are those published in the Win95 Resource Kit.
Dennis
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question