Extreme large RAM usage on tdvp

Julia has an internal function recording the peak memory calld Sys.maxrss(). I learned it from this post: https://itensor.discourse.group/t/memory-usage-in-dmrg-with-julia-1-x/1092 . You can do something like @printf "Max. RSS: %9.3f GB\n" Sys.maxrss()/2^30. A more deatiled discussion is in How to track total memory usage of Julia process over time.

3 Likes