Re: Memory Headaches [message #31579 is a reply to message #31575] |
Thu, 01 August 2002 17:01   |
Pete[1]
Messages: 7 Registered: April 1999
|
Junior Member |
|
|
Hi Ben,
As far as VARRAY-like support for Win32 is concerned, you have two options
that I know about.
The first is in Randall Frank's "IDL tools" DLM, which you can find on Ronn
Kling's website (http://rlkling.com/) under Freeware. Amongst other
things, this DLM contains functions for memory-mapped-file support.
The second is a DLM I've written myself. I was going to post something
about it to the group earlier, but changed my mind when I checked the web
(shortly before finishing my DLM) and discovered that Randall Frank had
already done MMF support. As the issue has come up again, and as my DLM
has a bit of a different slant to it, I've changed my mind again, so here it
is: Binary at ftp://ftp.syd.dem.csiro.au/stoneface.zip and source at
ftp://ftp.syd.dem.csiro.au/stoneface_src.zip. Unfortunately this FTP
server isn't under my control and it has some peculiar ideas about access
rights. If you have any problems with the FTP, email me and I'll email you
the ZIP.
About my DLM: It's for Win32 only. I've used it on WinNT4, but it should
be okay for Win2000 and maybe even Win9x. It has quite a bit of
flexibility on the type of view to be created (array type and dimensions,
even structure arrays), it can create more than one (coherent) view on a
file at a time, and it can quickly change something (the type, size or
offset) of a view - useful for performing semi-random access on huge (multi
gigabyte) files. The documentation includes some blurb about your enemy,
the Win32 adress space.
Cheers
Peter Mason
CSIRO Division of Exploration and Mining
Sydney, Australia
|
|
|