Skip to main content
Knowledgebase
Home
Renesas Electronics Europe - Knowledgebase

In some cases, "acre tsk" may return "E NOMEM" after "exd tsk" is called

Last Updated:03/22/2017

Question:

An E_NOMEM error (Insufficient memory) may be returned when the service call “acre_tsk” (Create task and assign task ID automatically) is called after the execution of the service call “exd_tsk” (Exit current task and delete it).

Answer:

The size of the dynamic stack area may be insufficient. Repeated creation and deletion of tasks that use a dynamic stack causes fragmentation of the available dynamic stack area, and an E_NOMEM error may occur even when the free space of it is sufficient.
Suitable Products
HI7000/4 Real-time OS for SuperH Family
  • Was this article helpful?