It is LXTerminal, not Python, that is using all your memory—1.1GB virtual, 772.1MB resident, on a Pi3.
That is likely related to the fact that you are printing reams of data to it in an infinite loop that does not even contain any sleep. Way more output, and way faster, than you could ever possibly read.
I do not reproduce even that problem, however. Do you have "Scroll-back lines" set to the default 1000 in LXTerminal preferences?
That is likely related to the fact that you are printing reams of data to it in an infinite loop that does not even contain any sleep. Way more output, and way faster, than you could ever possibly read.
I do not reproduce even that problem, however. Do you have "Scroll-back lines" set to the default 1000 in LXTerminal preferences?
Statistics: Posted by jojopi — Mon Jan 01, 2024 1:16 am