You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had issue that the app crashes after around 4-5 hours of working. I found out that it is caused by Windows Terminal cannot handle that many lines of text that accumulate over the time by reporting "Got heart rate: --- bpm" and just close.
Adding a "console.clear()" before logging new bpm value should fix it. I haven't tested this yet, but clearing the Terminal from batch script every hour fixed it, so this should too.
The text was updated successfully, but these errors were encountered:
Hi, I created "maxconsolelog.txt" to execute the "console.clear()" command when the terminal outputs a certain number of lines of logs. Currently, the default is to execute "console.clear()" when the number of lines reaches 1000.
I had issue that the app crashes after around 4-5 hours of working. I found out that it is caused by Windows Terminal cannot handle that many lines of text that accumulate over the time by reporting "Got heart rate: --- bpm" and just close.
Adding a "console.clear()" before logging new bpm value should fix it. I haven't tested this yet, but clearing the Terminal from batch script every hour fixed it, so this should too.
The text was updated successfully, but these errors were encountered: