Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: Memory prob...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 9 Topic 5434 of 6252
Post > Topic >>

Re: Memory problem

by Andrew_Cool <pook41@[EMAIL PROTECTED] > Feb 16, 2008 at 03:21 AM

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
 




 9 Posts in Topic:
Memory problem
jujo@[EMAIL PROTECTED]   2008-02-14 04:32:04 
Re: Memory problem
Jean H <jghasban@[EMAI  2008-02-14 11:32:47 
Re: Memory problem
zhouqiang.search@[EMAIL P  2008-02-14 10:57:08 
Re: Memory problem
Jean H <jghasban@[EMAI  2008-02-14 13:11:08 
Re: Memory problem
"Kenneth P. Bowman&q  2008-02-14 08:51:33 
Re: Memory problem
zhouqiang.search@[EMAIL P  2008-02-15 07:48:41 
Re: Memory problem
greg.addr@[EMAIL PROTECTE  2008-02-15 08:52:43 
Re: Memory problem
"Kenneth P. Bowman&q  2008-02-15 13:53:56 
Re: Memory problem
Andrew_Cool <pook41@[E  2008-02-16 03:21:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 16:22:22 CDT 2008.