Consultor Eletrônico



Kbase P2592: O.S. error message "Out of Environment Space" when attemptin
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   22/08/2003
Status: Verified

FACT(s) (Environment):

Windows 95

FACT(s) (Environment):

Windows 98

SYMPTOM(s):

O.S. error message "Out of Environment Space" when attempting to invoke PROGRESS

Out of Environment Space

CAUSE:

When you invoke PROGRESS on a DOS system, the PROGRESS batch files
(pro.bat, epro.bat, drive.bat, mpro.bat, etc) set up environment
variables which PROGRESS uses to find the executables and important
files like the PROGRESS overlay file(s), PROGRESS messages and
PROGRESS dictionary procedures. These environment variables are stored
in a small amount of system memory called  DOS environment space. The
problem is that not only PROGRESS uses environment variables. The DOS
PATH variable (which can often be very long if the system has many
software packages installed) and the environment variables used by
other products must also be stored in this area of memory. If the
combined system variables take up more memory than is available in the
allocated environment space, you will see the DOS "Out of environment
space" error message displayed.

FIX:

To correct the error, put an entry in the DOS config.sys file as
follows:


    SHELL=drive-letter:command.com-path /P /E:nnn


where drive-letter is the drive on which your command.com file is
located, command.com-path is the pathname of your DOS command.com file
and nnn is the amount of memory to use for environment space. For
example:


    SHELL=C:\COMMAND.COM /P /E:32000


would be a good starting point for a system running DOS 3.2 or 3.3
where the /E:32000 sets up an environment of 32,000 bytes of memory.