Skip to content
Discussion options

You must be logged in to vote

I think I have a solution.

I may have to re-consider the 'config solution' in the future, but for now this it is NOT the problem. Looking at the mem_info() output (and reading what it it all means) made me realize that the memory is heavily fragmented with 'F' all over the place - I made the connection that these are from the 'rolling average' class I have.

The dumb thing is that these are used during the calibration process, but not needed afterwards. I even have a purge() function in the class, which I was not calling.... D'oh.

Add the purge() before writing to the config and all is well. 40 calibration cycles, across two units and no errors.

These show how much I was able to recover.
b…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mungewell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants