memory management - Share large data structure between C++/Win7 processes? -
memory management - Share large data structure between C++/Win7 processes? -
i attempting allow 1 process d read memory in process a's address space, using c++/visual studio 2013, under 64-bit windows 7.
normally, job createfilemapping / mapviewoffile, there problems approach: (1) allocating memory via new , malloc, , should not changed; (2) amount of memory shared big (gb); copying not option, , using file way slow; (3) memory beingness shared can alter allocates , de-allocates.
process d can thought of debugger, able read parts of particular big info construction in process a. process run using visual studio 2013 debugger, , @ breakpoint when process d looks @ a's data.
if programming @ o/s level, allow process d create copies of a's page mapping entries memory shared. there way me accomplish same result application pgm?
c++ memory-management shared-memory
Comments
Post a Comment