When I run my program on Azure Sphere in debug mode, it shows this message and closes the debug:
Program terminated with signal SIGKILL, Killed.
The program no longer exists.
Any advise of why this is happening?
If your application uses too much memory, the Azure Sphere OS terminates it with a SIGKILL signal. For example, in the debugger you'll see the following:
Child terminated with signal = 0x9 (SIGKILL)
The SIGKILL signal also occurs if a high-level application fails to handle the SIGTERM request; see Lifecycle of an application for details.
Also, see Memory use in high-level applications
Hope this helps.
10 people are following this question.