Apr-18-2018, 09:21 AM
Hi all,
I'm having a very strange problem. I have an Arduino Tian that is programmed to send out sensor data to a server every x seconds.
My program run well but after 14,15 hours of operation it stops working and I don't receive datas. The program is fast at the beginning, then after 2 to 3 hours before stopping, it becomes more and more slow with the message "timeout".
I made several commands on the Linux terminal on Arduino OS to try to see what is happening and the program stop when the virtual size memory (vsz) used by ciao.py exceeds 100%.
I deduce that : Probably the process is consuming more virtual memory than there is available RAM, so is swapping...
I think maybe a misuse of the Ciao.py could be at the root of the problem. Or maybe a modification at the program level could correct the problem. So if I can have some help about this..
I put here the screen result of the linux command "top" and "free" after it stop running:
I'm having a very strange problem. I have an Arduino Tian that is programmed to send out sensor data to a server every x seconds.
My program run well but after 14,15 hours of operation it stops working and I don't receive datas. The program is fast at the beginning, then after 2 to 3 hours before stopping, it becomes more and more slow with the message "timeout".
I made several commands on the Linux terminal on Arduino OS to try to see what is happening and the program stop when the virtual size memory (vsz) used by ciao.py exceeds 100%.
I deduce that : Probably the process is consuming more virtual memory than there is available RAM, so is swapping...
I think maybe a misuse of the Ciao.py could be at the root of the problem. Or maybe a modification at the program level could correct the problem. So if I can have some help about this..
I put here the screen result of the linux command "top" and "free" after it stop running: