memery used by fprintf()
Hello,
I have an application which uses fprintf() to save the log information. When I run it in the background and run "top" in the foreground, I noticed that the used memory keeps growing. After a long time, it will used almost all of the memory 128MB, only 2MB memory is left as free. It does not cause any problem. I just want to know why.
I'm sure there is not a memory leak in the code. (Without fprintf, the used memory is stable.)
thanks
|