comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: shmmap questions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: shmmap questions [message #82356] Mon, 10 December 2012 06:13 Go to next message
Heinz Stege is currently offline  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 Go to previous message
Russell Ryan is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How can I check an image loaded correctly into matlab?
Next Topic: How can I check an image loaded correctly into matlab?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:31:35 PDT 2025

Total time taken to generate the page: 0.00479 seconds