Solved

r6009 "not enough memory in environment"

Posted on 1998-10-16
8
289 Views
Last Modified: 2013-12-16
On our new Computers we are getting this message when executing Novell login scripts.   What do I have to change to fix it and why is it only happening to new computers?

Background : we have many computers on win 95 not having this problem.   tcpip and ipxspx - microsoft client for novell - ethernetII -
0
Comment
Question by:markje
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 2

Expert Comment

by:G0LIATH
Comment Utility
Maybe a stupid question and I apologize for any insult but in the properties for "Client for Novell Networks" is "Enable logon script proccessing" checked?
0
 

Author Comment

by:markje
Comment Utility
"Enable logon script proccessing" is checked.
0
 

Expert Comment

by:e5haiz
Comment Utility
Please show the contents of the script- the scripts is calling on an executable that obviously can't run. In addition I would suggest using the most recent Client32 client from Netware.
0
 
LVL 95

Accepted Solution

by:
Lee W, MVP earned 70 total points
Comment Utility
The default environment memory is 160 bytes (as found in the Microsoft document here - http://support.microsoft.com/support/kb/articles/q68/9/27.asp).  The environment memory is used to store things such as the path and location of the temp directory.  At a dos prompt, type "SET" and you'll see a list of things using the environment memory.  Once you are out of environment memory, any further SET or PATH statements are unsuccessful and return a message "Out of Environment Memory".  Try adding this line to config.sys - it tells the computer on boot up to make the environment 512 bytes instead - more than 3 times the size.  (My guess - and I'm not a novell person) is that your path and other environmental variables are using too much of the memory and Novell is trying to store variables in the memory).

Anyway, here's the line to add to config.sys

SHELL=C:\DOS\COMMAND.COM C:\DOS /p /e:512
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 12

Expert Comment

by:mark2150
Comment Utility
Leew's answer is correct for this symptom. Login scripts frequently toss user name, MAC address, Server ID, etc into system environment. 512 may also be marginal. 1024 or 2048 won't kill you and will give some headroom. As a test, boot, get error, shell to DOS and do:

SET > X
DIR X

Note size of X file in bytes. This is equal to environment in use. Then use LeeW's suggestion with, say, /e:2048 as the environment and repeat the above test. This will show you what the environment actually is. If you're *close* to 512, move it up to 1024, or next 512 increment past size of X file.

M

0
 

Author Comment

by:markje
Comment Utility
I would still like to know why this happens on one machine (newer version of 95) and not another (older version of 95)?
Must be the O.S version.
0
 
LVL 95

Expert Comment

by:Lee W, MVP
Comment Utility
comment out the change on the fixed computer and reboot it and another you believe to be otherwise identical in programs and startup (different versions of 95 won;t make a difference).  Then, from a command prompt on both machines, type set > environ.txt.  Now you can compare both files and see which machine is using more environment space and for what.  (and by commenting out the fix, it will show you where it stopped adding to the environment).
0
 
LVL 12

Expert Comment

by:mark2150
Comment Utility
Older machines already had SHELL statement in CONFIG.SYS, Newer ones didn't. OS ver has nothing to do with it.

M

0

Featured Post

Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now