RT106x web service heap size issue.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

RT106x web service heap size issue.

683件の閲覧回数
StephenYeh
Contributor III

Hi Sir

Would you have any idea how to release the heap size after web service?

 

BRs.

0 件の賞賛
返信
1 返信

647件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @StephenYeh ,

   When you apply for the heap size, after you use it, you can free it.

  Take an example for the heap apply and release:

int main() {
  int a;
  int *p;
  p = (int *)malloc(sizeof(int));
  free(p);

  return 0;
}

So, if you want to release the heap size  after web service, you can use free to release it.

 

Wish it helps you!

Best Regards,

Kerry

0 件の賞賛
返信