Hello, This simple code demonstrates the problem: int main () { char* buffer1; char* buffer2; int size = 2*1024*1024 + 1; for(;;) { buffer1 = (char *) malloc(size); buffer2 = (char *) malloc(size); free(buffer1); free(buffer2); } } The second free() does not free allocated memory if size >2Mb. On 6.1-STABLE all is OK. Best RegardsReceived on Wed Jun 14 2006 - 06:07:29 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:57 UTC