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

Home » Public Forums » archive » Re: insufficient system resources
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: insufficient system resources [message #55895] Fri, 14 September 2007 13:54
Jim Brown is currently offline  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 Go to previous message
Jean H. is currently offline  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 Go to previous message
David Fanning is currently offline  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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: simple query: including loop variable in filename?
Next Topic: how to use MIN_CURVE_SURF when CONTOUR

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

Current Time: Wed Oct 08 13:49:28 PDT 2025

Total time taken to generate the page: 0.01209 seconds