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 #49142] Tue, 04 July 2006 01:33 Go to previous message
Maarten[1] is currently offline  Maarten[1]
Messages: 176
Registered: November 2005
Senior Member
Roni Drori wrote:

> 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)

Others have pointed out that there may be a memory leak in the IDL
routines themselves. Things to try:

- Circumvent the EOS layer, and use the HDF-4 routines directly. If the
leak is in the EOS routines, this might solve your problem.

- The HDF-5 routines do not have this problem, at least not under
Linux. Depending on the volume of the data, h4toh5 may be able to
provide you with a suitable alternative.

I've used the HDF-5 routines to perform approximately 60000 file
open/close operations in a single run without issues under Linux. IDL
6.2 under Windows gave trouble well before that number was reached.

Maarten
[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: Fri Oct 10 05:37:42 PDT 2025

Total time taken to generate the page: 1.35852 seconds