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

Unpredictable and sporadic memory release #850

Open
i-am-sijia opened this issue Apr 17, 2024 · 0 comments
Open

Unpredictable and sporadic memory release #850

i-am-sijia opened this issue Apr 17, 2024 · 0 comments
Labels
Bug Something isn't working/bug f Performance Changes that improve performance

Comments

@i-am-sijia
Copy link
Contributor

Describe the bug
Memory usage pattern can vary drastically when running the same model using the same code base on the same machine. For example, sometimes memory stacks up between mandatory tour scheduling segments (also observed in trip destination), sometimes it does not. Some times memory does not get released after a component is done before the next one starts.

This behavior is observed in more than one example model, also with more than one version of code base. So it seems to be not specific to a model or a version of code.

However, this seems to happen only in the Sharrow mode.

Below is an example of two model runs that are identical in everything except for memory pattern.

memory comp

To Reproduce
Steps to reproduce the behavior:

  1. Use the latest ActivitySim code
  2. Run in sharrow mode
  3. Run the full scale example MTC model
  4. Repeat

Expected behavior
It's desirable to have predictable and stable memory release.

@i-am-sijia i-am-sijia added the Bug Something isn't working/bug f label Apr 17, 2024
@dhensle dhensle added this to Phase 10A Oct 1, 2024
@dhensle dhensle added the Performance Changes that improve performance label Oct 1, 2024
@jpn-- jpn-- moved this to Punt in Phase 10A Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working/bug f Performance Changes that improve performance
Projects
Status: Punt
Development

No branches or pull requests

2 participants