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

Home » Public Forums » archive » Re: memory allocation on Macs
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 allocation on Macs [message #60092 is a reply to message #60091] Thu, 01 May 2008 11:25 Go to previous messageGo to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: System Variable question
Next Topic: Re: problem with display the data

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

Current Time: Sat Oct 11 22:09:07 PDT 2025

Total time taken to generate the page: 0.55887 seconds