How to solve "insufficient memory"

  


Everyone must have encountered a problem with insufficient memory when using a computer. So what is the lack of memory and how to deal with it? Let’s talk about this aspect. content.

The so-called "insufficient memory" means that when the DOS application and Windows application are started or run, the system reports "Out of memory" or "Out of memory" error message. “Insufficient memory” is a very common failure. The reason for running DOS applications and Windows applications causing “insufficient memory” is not exactly the same. First, the memory under DOS is insufficient. If the fault occurs when running DOS application, "Out of memory" (internal memory), you can check and process according to the following methods:

1. Check whether the system provides For extended memory support, you must ensure that the EMM386.EXE command in the CONFIG.SYS file contains RAM parameters. For the setting of RAM parameters, please refer to the related article, which will not be described here;

2. If the fault still remains Exist, check if the DOS kernel program is compatible with other running applications, and whether some programs take up a lot of conventional memory and handle it accordingly.

For example: When I was running WPS, the screen showed “The memory is not enough” and the system could not run. Considering that some other programs have been executed before running WPS, it may be that these programs did not completely exit from the memory, so restart, run Jinshan Chinese character system, WPS editing software still can not enter, use DOS 6.22 Mem command to view memory, only There is about 200KB of space left, and the CHLIB file occupies 255KB of main memory, that is, the font is placed in the conventional memory, and the Jinshan system should be able to automatically use the extended memory to store the font. Check the system configuration and set it in CONFIG.SYS. : DEVICE=C:\\DOS\\HIMEM.SYS DOS=HIGH That is to say, after the DOS kernel program is loaded into the extended memory, although the available main memory space is expanded, the Chinese character library cannot be loaded due to the conflict between the extended memory and the Jinshan system. Into the extended memory. There are two solutions:

1. Remove the DOS=HIGH setting and remove the DOS kernel program from the extended memory to run normally.

2. Change "“/DEVICE=C:\\DOS\\HIMEM.SYS" to "“/DEVICE=C:\\DOS\\HIMEM.SYS/INT15=320", because the Jinshan system is using The lower end of the extended memory, if there are other programs in this area, the font can not be loaded normally. The INT15 parameter is used to reserve a part of the traditional extended memory (that is, the extension not directly used by the INT15 but not directly managed by the XMS specification). Memory), font library and DOS kernel can use extended memory. After setting, the main memory space available in Jinshan Chinese character system state can reach 512KB, which is about 250KB more than when it is not set.

Copyright © Windows knowledge All Rights Reserved