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

Reduce memory footprint #884

Merged
merged 3 commits into from
Jan 30, 2025
Merged

Conversation

diegolovison
Copy link
Contributor

@diegolovison diegolovison commented Jan 20, 2023

Reduce memory footprint

Fixes #883
Refs #1011

aliencaocao added a commit to aliencaocao/backtesting.py that referenced this pull request Jul 2, 2023
@kernc kernc force-pushed the master branch 5 times, most recently from 428c361 to 0ce6cab Compare January 21, 2025 07:25
@kernc kernc self-assigned this Jan 30, 2025
@kernc kernc merged commit 925006f into kernc:master Jan 30, 2025
4 checks passed
mmortall pushed a commit to mmortall/backtesting-ext.py that referenced this pull request Feb 3, 2025
* Reduce memory footprint

Memoizing the whole stats made copies of contained `_strategy`,
which held duplicate references at least to whole data ...
Now we memoize just the maximization float value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory leak with optimize skopt
2 participants