Insufficient memory handling tips

  
        

Insufficient memory handling tips

Friends who often play computer, when using the computer, must have encountered the phenomenon that the machine prompts 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 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 deal with 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 related articles. ;

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: once I was running WPS, the screen showed “Insufficient memory” 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.SYSDOS=HIGH That is to say, after the DOS kernel program is transferred to the extended memory, although the available main memory space is expanded, the expansion of the memory and the Jinshan system cause the Chinese character library to fail to load. Expand memory. There are two ways to solve this problem:

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.

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:

1, first check the Windows resource usage, if the resources are more occupied, less resources available, there will be a problem of "insufficient memory" when opening a new file. At this time, you can clean the screen, reduce the number of windows, close unused applications, including TSR memory resident programs, minimize Windows applications to icons, if the problem occurs only when running a special application, then with the application software Contact by the seller may be due to poor management of the data object;

2. If the problem is not resolved, clear or save the contents of the Clipboard (Clipboard), use the ControlPanel Desktop option to set the wallpaper (Wallpaper) to None;

3. If the problem persists, use the PIF editor to edit the PIF file and increase the value of MemoryRequirements:KB Required defined in the PIF file. In standard mode, select Prevent ProgramSwitch, the switch option opens. After exiting the application, return to Windows; if it is 386 enhanced mode, set Display Usage to FullScreen (full screen mode), set Execution to Exclusive, and set Video memory to the lowest possible way;

4. If the problem persists, reboot into the Windows system and make sure the "Start" icon There are no other unrelated applications running at the same time, and there are no unrelated applications loaded by the Run or Load commands in the WIN.INI file. In normal times, the problem of "under-memory" is generally handled as follows. First, quit those applications that don't need to run, and then check the system's available resources. If the available resources are greater than 30%, you can usually run a new program. When there are multiple applications running on the system, you can exit one and check the available resources. If an application is before and after the exit, the percentage of available resources does not change. This indicates that the application has not released the resources it occupies. If you want to recover these unreleased resources, you can only quit Windows and re-enter Windows. In order to ensure that the available resources of the system are sufficient when booting into Windows, there should be no unrelated application software running at the same time in the "Startup" icon, and there is no any unrelated application loaded by the Run or Load command in the WIN.INI file. Programs, because these unrelated applications that are started at the same time may have taken up a lot of resources, making the application to be used inoperable. In general, after this processing, there will be no "insufficient memory" problem.

Copyright © Windows knowledge All Rights Reserved