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

Memory issue with state space representation #39

Open
blakeelias opened this issue Jan 25, 2021 · 1 comment
Open

Memory issue with state space representation #39

blakeelias opened this issue Jan 25, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@blakeelias
Copy link
Owner

python main.py --num_population 10000 --hospital_capacity_proportion 1.0  --imported_cases_per_step_range 0 --powers 1.0 --action_frequency 1 --tags no_clipping --horizon 96 --distr_family poisson --policy-comparison --no-policy-optimization --dynamics SIR

Fails: Killed after a few seconds.
Out of memory? From trying to allocate all possible states?

Avoid building the state_to_idx array?

@blakeelias blakeelias added the bug Something isn't working label Jan 25, 2021
@blakeelias
Copy link
Owner Author

Policy comparison runs policies for first environment, then crashes when initializing the next environment.
Free up memory used from previous environment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant