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

Home » Public Forums » archive » Re: more memory issues
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
Re: more memory issues [message #45573] Tue, 20 September 2005 14:42
IDLmastertobe is currently offline  IDLmastertobe
Messages: 54
Registered: June 2004
Member
Thanks

I think I have found solutions to my problem. The object wasn't the cause
of the problem. There was duplicated copies of the image hidden in the
code. I found them and corrected them. I thank you so much for your help
along. I appreciate your time.
Re: more memory issues [message #45580 is a reply to message #45573] Tue, 20 September 2005 09:45 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Michael Wallace wrote:
> IDLmastertobe wrote:
>
>> hi, i am still pretty confused on which object is taking up all my
>> RAM. I
>> have 1GB of installed RAM. When I worked with the smaller file with
>> dimension 52x52x52, i found it created about 50 objects to visualize.
>> When I worked on the larger file with 257x257x257, it created 47 objects.

The # of objects is irrelevant. I can create thousands of really small
objects and have RAM to spare but I know that I could try to create a
single object that would consume all and more of my system's resources.

>> But the large file ate up all the RAM before it even appeared.

Exactly. IDL couldn't allocate enough ram to create the IDLgr* objects
which you are using to display your data.

>> I am just
>> wondering if there is any call or procedure that enable me to find out
>> which object or array,etc is taking up all my RAM. Is there such a
>> function? with detailed memory usage of its component? anyone has any
>> suggestion on how I can discover the culprit? Thanks

Maybe I am old fashioned, but I just follow the data.


> As has been suggested before, some example code will help...

Yes, you are well beyond the point where we can offer help w/o seeing
some code. To increase your chances of success, you'll need to distill
your code down to the barest essentials as no one here is going to wade
thru hundreds of lines of code. This process will undoubtedly teach you
a lot along the way so it is usually worth it.

-Rick
Re: more memory issues [message #45589 is a reply to message #45580] Tue, 20 September 2005 07:20 Go to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
IDLmastertobe wrote:
> hi, i am still pretty confused on which object is taking up all my RAM. I
> have 1GB of installed RAM. When I worked with the smaller file with
> dimension 52x52x52, i found it created about 50 objects to visualize.
> When I worked on the larger file with 257x257x257, it created 47 objects.
>
> But the large file ate up all the RAM before it even appeared. I am just
> wondering if there is any call or procedure that enable me to find out
> which object or array,etc is taking up all my RAM. Is there such a
> function? with detailed memory usage of its component? anyone has any
> suggestion on how I can discover the culprit? Thanks
>

As has been suggested before, some example code will help...

-Mike
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Resizing arrays
Next Topic: About ION's Applications

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

Current Time: Wed Oct 08 11:41:55 PDT 2025

Total time taken to generate the page: 0.00458 seconds