jwkuehne wrote: ↑Mon Jun 21, 2021 7:00 pm
The memory leak I'm talking about is on the Raspberry Pi 4 OS with LC 6.5.1 standalone, and not some other platform.
I understood that, which is why I said, not once but twice, that I don't have the hardware for properly testing or diagnosing the issue you expressed having.
It doesn't matter if you wait 10 milliseconds, or send in 10 milliseconds, or both wait and send in 10 milliseconds, or repeat forever, or what you're writing, or the options for building the standalone: writing repeatedly to a field leaks memory.
I think I may have confused you, I was just actually looking for a clearer explanation on the steps to build a standalone by creating a symlink to another directory. That wasn't connected to the crashing thing in any way shape or form, that was just a question for my own information.
As for the 'waiting' part, the assumption I was making was that if your not giving the engine time to dump messages, then those messages would be accumulating and eventually your going to run out of memory, which might look like a leak, but is actually just a logic error. It isn't the "wait xx ms" that I expected to see change the problem, it was "wait xx ms
with messages that I expected to see change the problem.
Of course, for the 3rd time, I was unable to get the problem to occur because AGAIN, I don't have access to a rPi anything.
I just ran Bog's script, first as written, and then waiting and sending with 10 millisecond delays, and memory just goes up monotonically. Here are two screenshots. The standalone is called 'Untitled 1' in top.
I never saw the screen shots (which you apparently decided to delete), but I'll take your word for it, just as I said maybe 3 posts ago.
I'm not actually asking for your help, or speculation, or proposed workarounds for me to try.
I wasn't trying to give you any help, speculation, or proposed workarounds, I just saw something that might be an interesting problem and took a closer look at it for my own selfish interests.
For the last time, good luck with whatever your doing, I'm out of this thread before I start a problem, I see you already almost deleted your post, I don't need to add to your frustration levels.