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

Home » Public Forums » archive » Speeding up data crunching using IDL_IDLBridge with asychronous execution
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: Speeding up data crunching using IDL_IDLBridge with asychronous execution [message #85161 is a reply to message #85149] Wed, 10 July 2013 09:55 Go to previous messageGo to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hi Russell,

The memory leak you are talking about is it related to the variables defined at the end of the execution?

If you execute something, after getting the result, the variables are not destroyed and they keep using memory. To prevent that I always execute the following commands:

all_var='tmp_var'
IDLBridge->Execute, all_var+'=ROUTINE_INFO(''$MAIN$'',/VARIABLES)'
all_var=self->IDL_IDLBridge::GetVar(all_var)

command='DELVAR, '+STRJOIN(all_var,', ')
IDLBridge->Execute, command

Are you talking about something different?
I guess that using "help, /memory" I would be able to track the usage of memory and see if the bridge definitely has a bug.

nata
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Plot colors
Next Topic: Font List

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

Current Time: Thu Oct 09 02:59:53 PDT 2025

Total time taken to generate the page: 0.08220 seconds