Re: PROBLEM:: irreversible Memory growth of process in mmap()-munmap() calls

From: Michael Frank
Date: Tue Mar 09 2004 - 06:51:55 EST




On Tue, 9 Mar 2004 14:50:35 +0530, Kumar, Rajneesh (MED) <rajneesh.kumar@xxxxxxxxxx> wrote:
[1.] One line summary of the problem: irreversible Memory growth of process in mmap()-munmap() calls
1) Linux ( Compiled with gcc 3.2.2) : The memory size of process grows when files are mapped during first iteration of while loop. But there in no change in size after unmapping the file. However My expectations was drop in size of memory after munmap( ). On more point of interest is there is no
growth in memory after subsequent iterations of while loop.

Assuming you are talking about x86, gcc322 has produced the crappiest kernel code ever encountered. Even simple userspace apps got broen by it.

Suggest to change compilers to gcc295 or gcc323+ or gcc331+.

Regards
Michael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/