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

Home » Public Forums » archive » Re: Problem when reading many HDF-EOS file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Problem when reading many HDF-EOS file [message #49150 is a reply to message #49143] Mon, 03 July 2006 07:30 Go to previous messageGo to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
Roni Drori wrote:
> Hi,
> I have an IDL program that reads many HDF-EOS file (using EOS_GD_OPEN
> ....). When I'm reading more the ~100 files the program stops unable to
> open more files.
> What can be done to avoid this problem? (I'm reading simultaneously
> only one file and then closing it with EOS_GD_close)

If you never read more than one file at a time, I'd suspect a memory
leak. The HDF-EOS functions contain lots of pairs of book-end
functions: if you open something, you should close it. If you attach
something, you should make sure to detach it, etc.. In general, the
first one of each pair allocates resources (usually including memory),
and the second function must be called to deallocate them; if it isn't,
you have a resource leak. Check all of your calls to such functions,
and make sure that they're matched up properly.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: objects and widgets
Next Topic: Re: Thinning image morphological operator

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

Current Time: Sat Oct 11 00:53:53 PDT 2025

Total time taken to generate the page: 0.95951 seconds