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

Battery simulator process eats all the memory and causes the machine to crash. #22

Open
cassman42 opened this issue Jun 3, 2021 · 1 comment

Comments

@cassman42
Copy link

When running the battery simulator it caused the Pi to crash. Having eaten all of the memory and caused various things to die!

My data goes from May 2016 - hence the process starts 31,449,986 data points behind!

I've looked at the code and added a new method in common.php, this will cause the existing buffered data to be written out
and the buffer cleared - so that it doesn't consume all the memory - it also makes the process significantly faster.

@cassman42
Copy link
Author

I've raised a PR

#23

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

No branches or pull requests

1 participant