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

Home » Public Forums » archive » Memory Headaches
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Memory Headaches [message #31592] Thu, 01 August 2002 08:28 Go to previous message
crono15m is currently offline  crono15m
Messages: 9
Registered: June 2002
Junior Member
I have a problem which seems to be getting more and more desperate and
I'm hoping someone here may have some insight into it.

I have a situation where there is no (practical) way around loading
very large files into memory as IDL variables. The problem is that
sometimes they are too big and I run out of memory. I've tried
increasing the amount of virtual memory in the system but IDL doesn't
seem to know how to take advantage of all the virtual memory available
so it's probably capped.

Eric Korpela's VARRAY solution
(http://albert.ssl.berkeley.edu/~korpela/mmap/) seems like a
beautifully elegant solution to my problem since I could just map the
file and IDL wouldn't know the difference. However, I'm running win2k
and Eric's program is only for Unix. I've looked at the source for his
program to see if maybe I could modify it to run in windows but
unfortunately my Unix/WinAPI/C skills seem to be lacking for the job.

If it were just me running IDL I would consider running a Unix
emulator but if all goes well my analysis package could be running at
several colleges and I'd rather keep the solution as unobtrusive to
the user as possible. This may be asking too much. I don't know.

So basically my questions are these,
Does anyone know of a way to allow IDL to use more (maybe 1GB) virtual
memory in windows?
Does anyone know of a C library that can allow windows to emulate Unix
commands such as mmap and ftruncate?
Any other suggestions?

Thanks for any help,

Ben Hilldore
Hope College Nuclear Research Group
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Memory question by a newbie
Next Topic: Memory question by a newbie

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

Current Time: Sat Oct 11 00:38:25 PDT 2025

Total time taken to generate the page: 0.00742 seconds