Quoth Prasad:
I am running uclinux 2.4.31 in microblaze. Whenever an application
gets killed (by running killall or kill -9), does all the dynamic
memory (allocated through malloc by that application) gets freed ? Is
there any limitation to that. I am chasing a possible memory leak in
some of
Interesting..Just for understanding, in the test code in the loop i
malloc-ed to the size of the current loop count (and didn't free it).
After it allocates close to 75% of the available memory i killed the
task and observed whether the free memory decreases. It didn't. Till
now i was under
Doing some more experiments, i figure out as soon as it hits the full
memory (show by free), it the kernel goes and does some cleaning
stuff on the already freed memory for any new memory requirement.
So essentially free (or /proc/meminfo) doesn't tell me that the
memory is being used by some