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

Home » Public Forums » archive » Re: Performance issues
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: Performance issues [message #31173 is a reply to message #31171] Fri, 21 June 2002 08:42 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Sean Raffuse (sean@me.wustl.edu) writes:

> I have a batch routine that does a number of manipulations on large data
> sets (multi-dimensional arrays). The program works fine. However, it has
> slowdown problems. The program processes the datasets one at a time. The
> first one takes about 15 minutes or so. By the fourth or fifth dataset,
> the processing time is about double. This question may be too general, but
> what are the common causes for this in IDL? I can watch my memory usage in
> the task manager and it is not increasing. Since you can't use delvar
> outside of the main program, what else can I do?

You can try UNDEFINE, which works to undefine or delete
a variable at any program level:

http://www.dfanning.com/programs/undefine.pro

> Does this even matter?

I don't know. Certainly can't hurt to try.

I'm not sure there are "common causes" of slowdowns
in IDL. There can certainly be memory fragmentation
problems, but normally IDL is pretty good at managing
its own memory. I've never in my life written a program
that takes more than about 15 seconds to execute, so
I have no experience with something that takes 15 minutes.

I wonder if the slowdown can be machine dependent?
Just yesterday I managed to put IDL into an infinite
loop with a stupid programming error. After I had
exited IDL with Task Manager and fixed the problem,
my Windows machine was still dead slow. In the end,
the only way to fix the problem was to reboot. I don't
know if I had overextended Windows resources or what.
But I guess if you are working on something for 15
minutes or more that kind of thing might happen.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Re: SOCKET and POST forms
Next Topic: ON_IOERROR working

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

Current Time: Fri Oct 10 11:31:43 PDT 2025

Total time taken to generate the page: 1.28028 seconds