Monday, 15 August 2011

linux - Dynamic Array in C for memory mapping -



linux - Dynamic Array in C for memory mapping -

i trying allocate separate chunks of memory using malloc in order not allocate huge amount of contiguous block of memory @ 1 go allocating separate memory allocations. having said that, in order maintain track of allocated memory trying maintain each pointer in dynamic array hold each reference memory allocated. best approach handling big memory allocations or there improve how can handled?

let malloc , friends handle you. that's designed do, build on instead of wasting effort redoing experts provide part of programming environment.

c linux memory

No comments:

Post a Comment