Fragmented memory with IDL [message #1046] |
Tue, 18 May 1993 07:45 |
mayor
Messages: 9 Registered: May 1993
|
Junior Member |
|
|
IDLers,
The following is a question that I sent to IDL tech support today.
Below it is the reply from IDL. Thought I'd post it to see if
anybody else had similar problems or solutions.
> We've noticed that occasionally we get the following error message:
>
> % Unable to allocate memory: to make array.
> not enough core
>
> The interesting part is that it never occurs when we run the program
> immediately after starting IDL. It does happen after running the
> program multiple times EVEN with a RETALL at the end of each run.
> Somehow, it appears that consecutive runs cause it to reserve
> more and more memory - even though each run shouldn't require any
> more than the previous runs in the same IDL session. Is there a
> command that I can use to assure that all memory is cleared out
> even after a retall?
Alan Youngblood of RSI replies:
The circumstances you describe happen when memory becomes fragmented.
Unfortunately, there is nothing you can do except use less memory in
your application, or get more for the system to work with.
============================================================ ====================
Shane D. Mayor, Lidar Applications Group, NASA Langley Research Center,
Mail Stop 401A, Hampton, Virginia 23681-0001
Internet: MAYOR@VAXINE.LARC.NASA.GOV Phone: 804-864-7598 Fax: 804-864-7790
============================================================ ====================
|
|
|