PeterHjortLauritzen / opt-se-cslam

0 stars 0 forks source link

Memory leak #48

Open PeterHjortLauritzen opened 4 years ago

PeterHjortLauritzen commented 4 years ago

John has observed possible memory leak when running SE-CSLAM

brian-eaton commented 4 years ago

Confirmed. Here are the memory stats from a one year run with Kessler and terminator chemistry at ne30np4.pg3:

memory_write: model date = 00010102 0 memory = 65498.22 MB (highwater) 129.26 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010131 0 memory = 65538.24 MB (highwater) 160.46 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010228 0 memory = 65553.90 MB (highwater) 182.49 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010331 0 memory = 65585.23 MB (highwater) 206.83 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010430 0 memory = 65600.96 MB (highwater) 230.44 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010531 0 memory = 65632.28 MB (highwater) 254.79 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010630 0 memory = 65647.95 MB (highwater) 278.34 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010731 0 memory = 65679.27 MB (highwater) 302.69 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010831 0 memory = 65694.94 MB (highwater) 327.12 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010930 0 memory = 65726.33 MB (highwater) 350.74 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00011031 0 memory = 65741.99 MB (highwater) 375.08 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00011130 0 memory = 65773.32 MB (highwater) 398.66 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00020101 0 memory = 65800.87 MB (highwater) 431.18 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP)

The same run using ne30np4 (no CSLAM) does not show a problem:

memory_write: model date = 00010102 0 memory = 65490.25 MB (highwater) 94.92 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010131 0 memory = 65500.07 MB (highwater) 109.97 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010228 0 memory = 65500.07 MB (highwater) 109.97 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010331 0 memory = 65500.07 MB (highwater) 110.09 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010430 0 memory = 65500.07 MB (highwater) 110.10 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010531 0 memory = 65500.07 MB (highwater) 110.10 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010630 0 memory = 65500.07 MB (highwater) 110.10 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010731 0 memory = 65500.07 MB (highwater) 110.10 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010831 0 memory = 65500.07 MB (highwater) 110.22 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00010930 0 memory = 65500.07 MB (highwater) 110.22 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00011031 0 memory = 65500.07 MB (highwater) 110.22 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00011130 0 memory = 65500.07 MB (highwater) 110.22 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP) memory_write: model date = 00011231 0 memory = 65500.07 MB (highwater) 110.22 MB (usage) (pe= 0 comps= cpl ATM LND ICE OCN GLC WAV IAC ESP)