Hi Sir
Would you have any idea how to release the heap size after web service?
BRs.
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