Azure Sphere Runtime SIGKILL

Mehrdadh 1 Reputation point
2020-04-07T22:52:58.427+00:00

Hi,

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?

Azure Sphere
Azure Sphere
An Azure internet of things security solution including hardware, operating system, and cloud components.
156 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 27,311 Reputation points
    2020-04-08T05:34:03.787+00:00

    Hello @Mehrdadh ,

    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.