Re: more memory issues [message #45573] |
Tue, 20 September 2005 14:42 |
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  |
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  |
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
|
|
|