Messages in this thread | | | Subject | RE: PROBLEM:: irreversible Memory growth of process in mmap()-munmap() calls | Date | Wed, 10 Mar 2004 10:06:12 +0530 | From | "Kumar, Rajneesh (MED)" <> |
| |
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@med.ge.com
-----Original Message----- From: Michael Frank [mailto:mhf@linuxmail.org] Sent: Tuesday, March 09, 2004 5:20 PM To: Kumar, Rajneesh (MED); linux-kernel@vger.kernel.org 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@med.ge.com> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |