"OSError: [WinError 1455] The paging file is too small to complete the operation" solutions

"OSError: [WinError 1455] The paging file is too small to complete the operation" solutions

https://blog.csdn.net/weixin_46133643/article/details/125042903

The error reported is that the page file is too small, so the size of the page file needs to be increased. In fact, the computer does not allocate virtual memory to disks other than the C drive by default, so if Anaconda is installed outside the C drive, when running the program, because no virtual memory is allocated, the above problems will naturally be encountered. Therefore, to solve this problem, you only need to allocate virtual memory to the disk where Anaconda is located. Of course, if it is installed on the C drive, then increase the virtual memory value.

Step 1: Right-click My Computer (This Computer), click Properties
Step 2 : Click Advanced System Settings, then click Advanced->Settings
Step 3: Select Advanced->Programs->Change, as shown in the figure below
Step 4 : Remove the checkmark in front of the paging file size that automatically manages all drives -> select the disk (because my Anaconda is installed on the D drive, so choose the D drive here) -> click Custom Size -> Modify the initial size and the maximum value (just make sure it is less than the available space, choose 10240 here) -> Click Settings -> Click OK
Step 5 : Click OK, restart the computer, as shown in the figure below

Guess you like

Origin blog.csdn.net/weixin_44855366/article/details/129422641