Resources for memory management in embedded application

前端 未结 7 746
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-31 17:50

How should I manage memory in my mission critical embedded application?

I found some articles with google, but couldn\'t pinpoint a really useful practical guide.

7条回答
  •  Happy的楠姐
    2020-12-31 18:11

    Real-time, long running, mission critical systems should not dynamically allocate and free memory from heap. If you need and cannot design around it to then write your own allocated and fixed pool management scheme. Yes, allocated fixed ahead of time whenever possible. Anything else is asking for eventual trouble.

提交回复
热议问题