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