Talk About Network



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 allo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 17 Topic 5695 of 5734
Post > Topic >>

Re: memory allocation on Macs

by pgrigis@[EMAIL PROTECTED] May 1, 2008 at 11:25 AM

Brian Larsen wrote:
> Paolo,
>
> I get the same behavior but different error codes and memory usage
> info.
>
> IDL> a=bytarr(1000,1000,1000)
> IDL> b=bytarr(1000,1000,1000)
> IDL> c=bytarr(1000,1000,1000)
> IDL> d=bytarr(1000,1000,1000)
> idl(344,0xa0488fa0) malloc: *** mmap(size=1000001536) failed (error
> code=12)
> *** error: can't allocate region
> *** set a breakpoint in malloc_error_break to debug
> % Unable to allocate memory: to make array.
>   Cannot allocate memory
> % Execution halted at: $MAIN$
>
> but my activity monitor only shows 131MB free
>
> I am on IDL 6.4.1 and OSX 10.5.2.
>
> Is this an activity monitor difference only?
Well, the machine as 7GB total real memory...
How much you have? If it is 4GB, that would
explain it I guess, although I don't see why it
wouldn't try to use virtual memory first.

Ciao,
Paolo

>
> Cheers,
>
> Brian
>
>
>
>
--------------------------------------------------------------------------
> Brian Larsen
> Boston University
> Center for Space Physics
> http://people.bu.edu/balarsen/Home/IDL




 17 Posts in Topic:
memory allocation on Macs
pgrigis@[EMAIL PROTECTED]  2008-05-01 09:18:31 
Re: memory allocation on Macs
Brian Larsen <balarsen  2008-05-01 10:54:10 
Re: memory allocation on Macs
Rick Towler <rick.towl  2008-05-01 11:15:49 
Re: memory allocation on Macs
pgrigis@[EMAIL PROTECTED]  2008-05-01 11:25:51 
Re: memory allocation on Macs
pgrigis@[EMAIL PROTECTED]  2008-05-01 12:06:25 
Re: memory allocation on Macs
Brian Larsen <balarsen  2008-05-01 13:08:40 
Re: memory allocation on Macs
pgrigis@[EMAIL PROTECTED]  2008-05-01 13:56:22 
Re: memory allocation on Macs
pgrigis@[EMAIL PROTECTED]  2008-05-01 14:00:26 
Re: memory allocation on Macs
Karl <Karl.W.Schultz@[  2008-05-02 09:36:06 
Re: memory allocation on Macs
Brian Larsen <balarsen  2008-05-02 10:56:07 
Re: memory allocation on Macs
"Kenneth P. Bowman&q  2008-05-02 13:39:48 
Re: memory allocation on Macs
pgrigis@[EMAIL PROTECTED]  2008-05-02 12:13:04 
Re: memory allocation on Macs
ekvys101 <fsdals@[EMAI  2008-05-02 16:57:14 
Re: memory allocation on Macs
henrygroe@[EMAIL PROTECTE  2008-05-03 07:20:48 
Re: memory allocation on Macs
"dcleon@[EMAIL PROTE  2008-05-05 06:49:28 
Re: memory allocation on Macs
Karl <Karl.W.Schultz@[  2008-05-05 13:23:57 
Re: memory allocation on Macs
pgrigis@[EMAIL PROTECTED]  2008-05-05 13:49:40 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Fri May 16 8:48:21 CDT 2008.