[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange memory problem



In article <83qsal$r3k$1@sonofmaze.dpo.uab.edu>,
	rkj@dukebar.crml.uab.edu (R. Kyle Justice) writes:
> Mark D. Williams (markw-xxxnospamxxx@resource-eng.com) wrote:
>: "R. Kyle Justice" wrote:
> [...]
> Actually I should have given my real problem rather than a
> simplified version of it.  Acutally I have two big arrays of
> equal size and I am trying to copy one into the other:
> 
> temp1(*)=temp2
> 
> [...]

 On a fresh system (Sun ULTRA5), I got the following responses:
IDL> t0=systime(1) & temp5 = BYTARR(1000,1000,25) + 10B & t1=systime(1) 
IDL> print,t1-t0
      0.65915895
IDL> t0=systime(1) & temp = temp5 & t1=systime(1) & print,t1-t0
      0.35241199
IDL> t0=systime(1) & temp = byte(temp5) & t1=systime(1) & print,t1-t0
      0.15835595
The next attempt, to do 
IDL> t0=systime(1) & temp[*] = temp5 & t1=systime(1) & print,t1-t0
led to happy swapping ... And when I start another new IDL session,
the sequence
IDL> t0=systime(1) & temp5 = BYTARR(1000,1000,25) + 10B & t1=systime(1) & print,t1-t0
      0.66182601
IDL> t0=systime(1) & temp = BYTARR(1000,1000,25,/NOZERO)  & t1=systime(1) & print,t1-t0
   0.00050103664
IDL> t0=systime(1) & temp[*] = temp5  & t1=systime(1) & print,t1-t0
again leads to a system breakdown. Oh! after idling for 93 seconds, the
command prompt reappeared.

Cheers,
Martin







-- 
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
[[ Dr. Martin Schultz   Max-Planck-Institut fuer Meteorologie    [[
[[                      Bundesstr. 55, 20146 Hamburg             [[
[[                      phone: +49 40 41173-308                  [[
[[                      fax:   +49 40 41173-298                  [[
[[ martin.schultz@dkrz.de                                        [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[