Solution to the problem of insufficient memory under different systems

  

We often encounter some faults in the general CPU or memory, and many times we can't solve it. Everyone in the application of the computer must have encountered the phenomenon of insufficient memory for the machine, then what is the lack of memory, and how to deal with it, I believe this is a fog for many people, it does not matter if we talk about one below Speak about this aspect.

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 problem 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 support for expanded memory. 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 persists, check if the DOS kernel program is compatible with other running applications. 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:DOSHIMEM.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 extended memory and the Jinshan system conflict, so that the Chinese character library cannot load 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:DOSHIMEM.SYS" to “/DEVICE=C:DOSHIMEM.SYS/INT15=320", because the Kingsoft system uses the low 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 extended memory that is not directly managed by the XMS specification and used by INT15), font and DOS. The kernel can use 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.

Second, the lack of memory in Windows If you run a Windows application, the "insufficient memory" failure, you can check and deal with the following methods:

Copyright © Windows knowledge All Rights Reserved