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

Home » Public Forums » archive » 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: Memory problem [message #58734 is a reply to message #3153] Sat, 16 February 2008 03:21 Go to previous messageGo to previous message
pook41 is currently offline  pook41
Messages: 16
Registered: January 2007
Junior Member
On Feb 14, 10:32 pm, j...@argentina.com 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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How to draw legend in draw widget
Next Topic: image statistics without the NaN

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

Current Time: Wed Oct 08 19:20:36 PDT 2025

Total time taken to generate the page: 0.00471 seconds