Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add _clean methods to shr_strdata_mod to cleanup memory usage #261

Open
ekluzek opened this issue Mar 2, 2024 · 0 comments
Open

Add _clean methods to shr_strdata_mod to cleanup memory usage #261

ekluzek opened this issue Mar 2, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request Responsibility: CTSM Responsibility to manage and accomplish this issue is the CTSM Software group

Comments

@ekluzek
Copy link
Collaborator

ekluzek commented Mar 2, 2024

In CTSM we use streams for files with a single time instance. Hence these files can be used at initialization and then closed and memory deallocated afterwards. We have a quarter degree dataset that has 4 million points and as such it would be helpful to deallocate all the memory for it. There are a couple other cases where closing these files would help with our memory profile, so this would be worth doing.

@ekluzek ekluzek added enhancement New feature or request Responsibility: CTSM Responsibility to manage and accomplish this issue is the CTSM Software group labels Mar 2, 2024
@ekluzek ekluzek self-assigned this Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Responsibility: CTSM Responsibility to manage and accomplish this issue is the CTSM Software group
Projects
Status: Todo
Development

No branches or pull requests

1 participant