Solved Is there a limit to how much memory CMD is allowed to use?

Various / CUSTOM BUILT
September 15, 2016 at 05:18:28
Specs: Windows 10.0.10586 Pro, Intel i7 4770k, 32GB 1600MHz RAM
A while ago, I created a batch file which was to parse a quite large chunk of data.

I coincidentally had my task manager open at the same time. When the script had just started, it used about 0,7MB of my memory, however it started to run slower and slower over time, and I saw it was now using 6MB of memory.

The strange thing is that it seemed to be capped at that amount, as it never exceeded 6MB.

Is there a limit as to how much memory a single instance of cmd.exe is allowed to use?

Don't worry if plan A fails, there are 25 more letters in the alphabet ;)


See More: Is there a limit to how much memory CMD is allowed to use?

Reply ↓  Report •


#1
September 15, 2016 at 07:48:08
✔ Best Answer
"Is there a limit as to how much memory a single instance of cmd.exe is allowed to use?"

No.

Actually a 32 bit process would be limited to about 2 GB of memory but that limit is almost impossible to reach. It is not at all unusual for a process to use more memory as time progresses. Most likely it stopped at 6 MB because the memory manager saw that it didn't need any more.


Reply ↓  Report •
Related Solutions


Ask Question