On Feb 14, 10:32 pm, j...@[EMAIL PROTECTED]
wrote:
> Hi!
> I'm trying to make a very large array:
>
> a=fltarr(5287, 7707, 8)
>
> Then I got the warning: 'Unable to allocate memory: to make array.'
>
> Is there any way to avoid this message?
>
> Best!
> Jurandir
Try 64 bit windows with 64 bit IDL? Here's what I get with 4GB of
RAM :-
IDL Version 6.4, Microsoft Windows (Win32 x86_64 m64). (c) 2007, ITT
Visual Information Solutions
IDL> a=fltarr(5287, 7707, 8)
IDL> help,/mem
heap memory used: 1304694831, max: 1304694831, gets: 505,
frees: 190
IDL> b=fltarr(5287, 7707, 8)
IDL> help,/mem
heap memory used: 2608596228, max: 2608596359, gets: 517,
frees: 199
IDL> c=fltarr(5287, 7707, 8)
IDL> help,/mem
heap memory used: 3912497625, max: 3912497756, gets: 529,
frees: 208
IDL> d=fltarr(5287, 7707, 8)
IDL> help,/mem
heap memory used: 5216399022, max: 5216399153, gets: 541,
frees: 217
Cheers,
Andrew


|