E3SM-Project / E3SM-Project/E3SM

Possible memory leak in elm/crops

Open
#8,583 0 comments 0 reactions 1 assignee Claimed by @bbye View on GitHub
ELM
Dominant language
Fortran
Stars
441
Forks
481
Avg merge
4d 7h
Merged PRs (30d)
33

Description

When #8494 was first merged to next, the MEMLEAK TOLERANCE on Chrysalis was set to 5% and it reported a leak in 3 of the long running crop model tests:

SMS_Ly2_P1x1.1x1_smallvilleIA.IELMCNCROP.chrysalis_intel.elm-fan
memleak detected, memory went from 728.360000 to 770.520000

SMS_Ly5_P1x1.1x1_smallvilleIA.IELMCNCROP.chrysalis_intel.elm-force_netcdf_pio
memleak detected, memory went from 600.370000 to 642.000000

SMS_Ly5_P1x1.1x1_smallvilleIA.IELMCNCROP.chrysalis_intel.elm-per_crop
memleak detected, memory went from 609.480000 to 641.680000

Two long running test did NOT report a memory leak. One with and one without crops:
SMS_Ly1.ELM_USRDAT.I1850CNPRDCTCBC.chrysalis_intel.elm-kilocraft (only 1 year)
SMS_Ly2_P1x1.1x1_smallvilleIA.I20TRGSWCNPCROP.chrysalis_intel.elm-lulcc_sville (different config from other 3)

These are barely over 5%. We later raised the tolerance to 10% and the fail went away but the underlying leak is still there.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.