No matter how much memory I have, the farm takes it all,

T265OJ(4MG74ANQTO2{(L

No matter how much memory I have, the farm takes it all,
I have 512GB of memory, all of which is occupied by the farm. Why is this?
Can it be restricted? This will cause my system to freeze.

This is not the case, it is a Windows reporting bug, already answered before a few times, including here: Large Farm Optimizations - #2 by nazar-pc
Just check Processes tab, you’ll see farmer doesn’t use nearly as much RAM. And if you open some apps they will not crash either.