I want to write a program where I can specify the maximum amount of RAM it can use after startup. I therefore need a function that shows me the current value of RAM that the running program is currently using.
Can someone help me with this?
The functions under https://docs.julialang.org/en/v1/base/base/#System
do not seem to be suitable for this.