"Insufficient memory" problem

  
Everyone must have encountered the phenomenon of insufficient memory when using the computer, then 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. 1. Insufficient memory under DOS If it is a failure of Out of memory when running a DOS application, check and process it as follows: 1. Check if 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 the DOS kernel program and other running applications. Whether it is compatible, whether 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 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 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: 1, first check the Windows resource usage, if the resources are more There are fewer available resources, and there will be a problem with "under-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, use the ControlPanel Desktop option to set the wallpaper to None; 3. If the problem Still exists, you can 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, exits the application and returns to Windows; if it is 386 enhanced Mode, set Display Usage to Full Screen, set Execution to Exclusive, set Video memory to the lowest possible way; 4. If the problem persists, reboot into Windows and ensure There are no other unrelated applications in the "Startup" icon. When starting the run, there is no any unrelated application loaded by the Run or Load command 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 in 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, indicating 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. Generally speaking, after this processing, there will be no problem with "under-memory".
Copyright © Windows knowledge All Rights Reserved