SHMMAP of a variable already existing in memory [message #68308] |
Mon, 12 October 2009 09:31 |
Pau Prats
Messages: 1 Registered: October 2009
|
Junior Member |
|
|
I would like to use the IDL_IDLBridge to parallelize my programs.
SHMMAP can help by sharing a common block of memory among different
processes. However, the way SHMMAP works, I cannot share a variable
that exists already in memory, i.e. first I have to call SHMMAP to
allocate the memory, and afterwards fill it with the content of the
original variable. This means I am doubling the amount of memory I
need, even if it is for a short time. Since I might work with quite
large arrays (>5GB) this is not efficient. Is there a way to avoid
this, i.e. to share directly the original variable already stored in
memory without having to use twice the memory?
Thank you,
pau
|
|
|