Re: shmmap questions [message #82356] |
Mon, 10 December 2012 06:13  |
Heinz Stege
Messages: 189 Registered: January 2003
|
Senior Member |
|
|
Hi Russell,
I don't have a Mac here. On Windows the maximum size of the shared
memory segment is given by the largest available memory block within
the RAM.
You can download memtest from
http://www.exelisvis.com/Support/HelpArticleDetail/ArticleId /3441.aspx
(or anywhere else) to show the sizes of the largest available blocks
within your IDL session.
If possible in your Monte Carlo simulation, it may help to use 2 or 3
smaller shared memory maps instead of a single large one.
Cheers, Heinz
|
|
|
Re: shmmap questions [message #82448 is a reply to message #82356] |
Mon, 10 December 2012 09:38  |
Russell Ryan
Messages: 122 Registered: May 2012
|
Senior Member |
|
|
Hi Heinz,
Yeah, that's what I was leaning toward. But after I posted this message, I needed to restart my computer for a completely unrelated reason. When I turned it back on I noticed the problem was fixed --- in that I could now write that data to shared memory (at least as far as I can tell). I guess I should've guessed that modifying the kernel settings would require a restart, but that seems to be the missing piece.
Should this turn out to be incorrect, and I'm not truly mapping this data, then I'll be deconstructing the code to do what you said --- share many small maps instead of one large one. It's just messy and aesthetically ugly.
Thanks!
Russell
On Monday, December 10, 2012 9:13:28 AM UTC-5, Heinz Stege wrote:
> Hi Russell,
>
>
>
> I don't have a Mac here. On Windows the maximum size of the shared
>
> memory segment is given by the largest available memory block within
>
> the RAM.
>
>
>
> You can download memtest from
>
> http://www.exelisvis.com/Support/HelpArticleDetail/ArticleId /3441.aspx
>
> (or anywhere else) to show the sizes of the largest available blocks
>
> within your IDL session.
>
>
>
> If possible in your Monte Carlo simulation, it may help to use 2 or 3
>
> smaller shared memory maps instead of a single large one.
>
>
>
> Cheers, Heinz
|
|
|