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

Home » Public Forums » archive » memory consumption when drawing an idlgrscene object
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
memory consumption when drawing an idlgrscene object [message #35604] Fri, 04 July 2003 15:22
Jan[1] is currently offline  Jan[1]
Messages: 3
Registered: July 2003
Junior Member
Hi

I have a problem with an idlgrscene object that I want to draw. When I
draw it, it consumes about 18 MB of memory, and I can't find a way of
getting it back. Anyone has any ideas?
To destroy the window releases a little bit of memory, but not close to 18
MB.
The scene object itself does not require that much memory, and destroying
that will therefore not release much memory.
The scene object contains filled idlgrcontour objects. Not filling them
takes somewhat less memory, but it is not really an option.
I have set retain=2 in the draw widget where I want to draw the scene,
changing this to 1 or 0 reduces the required memory somewhat, but not
enough, and it is also a bad solution.

Now we are dealing with memory consumption, anyone has any idea to why the
following line will steal about half a megabyte of memory, and how to get
it back:
oContour->GetProperty, XRANGE=xr, YRANGE=yr
?
The ocontour object is an idlgrcontour object.

Regards
Jan Staff

PS: Do you guys have a problem with getting spammed quite a bit when
writing to this list?
I've written to this list a couple of times before, and I got some good
answers, but also a lot of spam :-(
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: FILE_EXPAND_PATH
Next Topic: postscript resolution

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

Current Time: Wed Oct 08 14:56:28 PDT 2025

Total time taken to generate the page: 0.00425 seconds