Re: insufficient system resources [message #55895] |
Fri, 14 September 2007 13:54 |
Jim Brown
Messages: 8 Registered: November 1995
|
Junior Member |
|
|
I had a problem reading a multi-megabyte bitmap file once (not in IDL)
and got the windows error:
failed with error 8: Not enough storage is available to process
this command.
I had plenty of memory and disk space, so I had to dig to find the
answer. It seems that the load was using kernel memory instead of user
memory for efficiency reasons. I had to modify the load function and
everything worked fine.
Write to me if your problem turns out not to be an IDL problem and
I'll try to help you.
-Jim Brown
|
|
|
Re: insufficient system resources [message #55899 is a reply to message #55895] |
Fri, 14 September 2007 08:31  |
Jean H.
Messages: 472 Registered: July 2006
|
Senior Member |
|
|
mdoubkova@gmail.com wrote:
> Hey everybody,
>
> recently I experienced problem while reading binary files in IDL.
> Program crashes with error: "insufficient system resources" while its
> evident that there is enough memory available and there is no storage
> problem. I do not think this has anything to do with our code.
>
> Any suggestions?
>
> thanks,
> Marcela
Marcela,
If you are under windows, there is a big difference between "total
available memory" and "memory available for ONE variable"... see the
'memtest.pro' procedure from ITTVIS to find out!
Jean
|
|
|
Re: insufficient system resources [message #55907 is a reply to message #55899] |
Fri, 14 September 2007 04:56  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
mdoubkova@gmail.com writes:
> recently I experienced problem while reading binary files in IDL.
> Program crashes with error: "insufficient system resources" while its
> evident that there is enough memory available and there is no storage
> problem. I do not think this has anything to do with our code.
>
> Any suggestions?
This sounds like classic assumption error to me. I'd test
them all. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|