The program was originally compiled on gcc 3.3.2. Is that a problem ?
Would appriciate your help.
Regards
Rajneesh Kumar
GSP, GEMS-GTO
GE Medical Systems
John F Welch Technology Center
#152, EPIP. Phase 2
Whitefield, Bangalore.560 066
Ph : (080) - 2503 3412
Dialcom: *901 3412
mail: rajneesh.kumar@xxxxxxxxxx
-----Original Message-----
From: Michael Frank [mailto:mhf@xxxxxxxxxxxxx]
Sent: Tuesday, March 09, 2004 5:20 PM
To: Kumar, Rajneesh (MED); linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: PROBLEM:: irreversible Memory growth of process in
mmap()-munmap() calls
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() callsgrowth in memory after subsequent iterations of while loop.
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
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