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

Home » Public Forums » archive » Strange memory problem
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: Strange memory problem [message #18417 is a reply to message #18337] Wed, 22 December 1999 00:00 Go to previous messageGo to previous message
Mark D. Williams is currently offline  Mark D. Williams
Messages: 15
Registered: November 1999
Junior Member
"R. Kyle Justice" wrote:
> Actually I should have given my real problem rather than a
> simplified version of it. Actually I have two big arrays of
> equal size and I am trying to copy one into the other:
>
> temp1(*)=temp2
>
> I don't want memory fragmentation, that is why I do the process
> "in place." I was told by one person that this left hand operation
> generates an array of indices and this is where the memory problem
> is coming from. He suggested the IDL (I am assuming) function
> REPLICATE_INPLACE. Well, I don't have that on PV-Wave(or do I?)
> and it really is not helpful for my actually problem (only the
> simplified one). So it appears that I am stuck with fragmentation
> or disk swapping. Choose your poison.

It would appear so, although by my view, in this case fragmentation
is the lesser of the two evils.

> : By assigning 10 instead of 10B, that is what you're ending up with.
>
> I thought including the * operator on the left side would
> preserve the data type.

You are, of course, correct. It is also true as another poster
pointed out, that for the simplified example, using the /NoZero
keyword isn't really a fair test since you end up with an actual
value being "added" to uninitialized memory space.

Regards,
Mark Williams
Resource Engineering, Inc.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to find the TLB of a widget
Next Topic: Tip: how to mix object gui with command line

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

Current Time: Wed Oct 08 17:24:39 PDT 2025

Total time taken to generate the page: 0.00479 seconds