[DUG] Memory mapped Files with no file
Ross Levis
ross at stationplaylist.com
Wed Jun 12 00:02:50 NZST 2013
I'm using a shared memory component in 2 apps which communicate with each
other.
I use a shared memory component which uses a memory mapped file with no
actual file on the hard drive.
I seem to be having a problem with communications between the 2 apps when
the hard drive is busy. It appears a change to the shared memory is not
showing up in the other app for over 20 seconds while the hard drive is
busy. Does that sound possible in your opinion?
It doesn't make any sense to me but that's all I can come up with currently.
Communication appears to stop sometimes when a separate thread starts up
every 24 hours to load the contents of perhaps 3000 small files into RAM.
There is a sleep(15) between access of each file to prevent the drive being
too busy, but yet this issue can occur sometimes during the 30 odd seconds
this thread is running.
Cheers,
Ross.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20130612/3b79d77e/attachment.html
More information about the Delphi
mailing list