Skip to content

pypowerwall - memory usage #25

Answered by jasonacox
youzer-name asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @youzer-name ! Thanks for this observation...good find!

It seems very compelling that there is a leak. It should grow as it buffers API calls but that should level off and not continue to grow as your graph shows. The pypowerwall proxy uses ThreadingHTTPServer. I did some quick research and believe there are conditions with python 3.7+ with ThreadingHTTPServer that can cause this memory leak. I have put in a recommended fix and I'm running some tests before releasing.

Can you help by confirming the version of python as well as pypowerwall (see http://localhost:8675/version)?

I'm going to open an issue in https://github.com/jasonacox/pypowerwall for the proxy.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jasonacox
Comment options

@jasonacox
Comment options

@jasonacox
Comment options

Answer selected by youzer-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants