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

Home » Public Forums » archive » QUESTION: is there a command in idl which could clean up memory pieces?
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: QUESTION: is there a command in idl which could clean up memory pieces? [message #63049 is a reply to message #62993] Thu, 23 October 2008 10:49 Go to previous messageGo to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
Tatcher wrote:
> On Oct 23, 3:48�pm, pgri...@gmail.com wrote:
>> Tatcher wrote:
>>> Hej!
>>
>>> I have a similar problem.
>>
>>> I am analyzing shots measured in a tokamak. The problem in my case is,
>>> that the program opens up to 10 iplot windows per shot. Each window
>>> contains 420000 data points. After approx. 15 shots, the Computer runs
>>> out of memory (2 GB).
>>> I have the same problem when I suppress the visualisation of the iplot
>>> windows (user_interface='n') and dump the picture of the plot directly
>>> to the harddisk instead.
>>> Although my program runs in a loop and all the variables are defined
>>> only once and are rewritten for each shot.In my case iPlot seems to be
>>> the problem.Is it possible that every iPlot window reserve a certain
>>> amount of memory? How do you plot your data?
>>
>> Why don't you close the iplot window after each plot?
>>
>> Paolo
>>
>>
>>
>>> My solution: I will ty to use float instead of double numbers and I
>>> will upgraded my PC to 8 GB RAm
>
> Unfortunately that is not possible. iPlot window are "locked" as long
> the program is executed. e.g. It's not possible to use the build in
> Zoom function, annotate the plot or simply close it.

Then you should make the program close it when it's done with it.

Paolo
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to suppres warning
Next Topic: Re: PLOTS in different windows with different RANGE

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

Current Time: Sun Oct 12 08:48:54 PDT 2025

Total time taken to generate the page: 0.71829 seconds