[SOLVED] poor memory management

manasan3010

Prominent
Nov 19, 2018
22
0
510
I have Windows 10.0.17134 with 8GB ram. I don't normally get any lags due to insufficient memory. But today I tried to run a python script which requires a lot of computation as it deals with HUGE numbers, the memory usage starts to peak up and went to the state of freezing the OS. Then I had to perform a force restart.
My question is why did windows allowed the Python script to take that much of memory in the first place. Shouldn't it have limited the memory knowing that it would freeze the OS. Is this normal or am I missing any essential Windows service which limits and manages the memory?

All Services List
 
Solution
Windows just allowed the program to use as much ram as it needed. When it went over what your system had available, the data went onto a page file. That would cause a lot of freezing and slowdown.