9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-05-29 16:55:18 +02:00

Changed total memory to resident memory in check
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Anthony Scemama 2024-04-02 17:41:19 +02:00
parent 15f435428a
commit 4e692558a6

View File

@ -107,7 +107,7 @@ subroutine check_mem(rss_in,routine)
double precision, intent(in) :: rss_in
character*(*) :: routine
double precision :: mem
call total_memory(mem)
call resident_memory(mem)
mem += rss_in
if (mem > qp_max_mem) then
call print_memory_usage()