How to solve "insufficient memory"

  
Everyone in the application of the computer must have encountered the phenomenon of the machine prompting insufficient memory, then what is the lack of memory, and how to deal with it, let's talk about this aspect.
The so-called "insufficient memory" means that when the DOS application and the 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 problem occurs when running DOS application, "Out of memory" (insufficient memory), you can check and process according to the following methods:
1, check whether the system provides extended memory Support, you must ensure that the EMM386.EXE command in the CONFIG.SYS file contains RAM parameters. Please refer to the related article for the setting of RAM parameters, which will not be described here;
2. If the fault persists, check the DOS kernel program. Whether it is compatible with other running applications, 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 settings, the DOS kernel program is removed from the extended memory, you can run normally.
2, will be changed to “/DEVICE=C:\\DOS\\HIMEM.SYS" to “/DEVICE=C:\\DOS\\HIMEM.SYS/INT15=320", because the Kingsoft system uses extended memory At the low end, if there are other programs in this area, the font cannot be loaded normally. The INT15 parameter is used to reserve a part of the traditional extended memory (that is, the extended memory that is not directly managed by the XMS specification and used by the INT15). Both the font library and the DOS kernel can use the extended memory. After this setting, the main memory space available in the state of Jinshan Chinese character system can reach 512KB, which is about 250KB more than when it is not set.

Copyright © Windows knowledge All Rights Reserved