RT106x web service heap size issue.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT106x web service heap size issue.

686 Views
StephenYeh
Contributor III

Hi Sir

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

 

BRs.

0 Kudos
Reply
1 Reply

650 Views
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 Kudos
Reply