Hi, we are using 80515 core. Here in the code, memory are allocated dynamically in different files using standard library function "calloc". The code is very large in size..almost 58KB & it contains more than 60 source files. Total 5 people are involved in development. Now my problem is to find out the memory which is allocated but not made free in order to avoid memory leakage. Anybody can help me how to findout the unnecessary allocated memory. Here, i am sure that dynamically allocated memory needs not to be there for the life time in the code. Depending on some conditions, we have to deallocate, but unfortunately if it was not deallocated. Also tell me how to know the size of Heap ? Thanks in advance
"In another thread you will see that writing "'51 friendly" C can reduce program size dramatically and at the same time increase throughput" Can you tell whats the "51 friendly" C ?
Can you tell whats the "51 friendly" C ? http://www.keil.com/forum/docs/thread7148.asp this, currently active, thread discuss it and Andy state in the 2nd post "Have you paid attention to the section in the Manual on writing optimum code?" Erik