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

Home » Public Forums » archive » 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
memory allocation on Macs [message #60098] Thu, 01 May 2008 09:18 Go to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
Hi folks,

we have pretty much exhausted the topic of memory
allocation on Windows and Linux, but I don't remember
any discussion abut this on Mac OS.

So, I am using IDL 6.3 on Mac OS X 10.4.11.

I tried allocating as many 1GB array as possible,
and it failed after 3 successful allocations.
Now, the "Activity Monitor" indicates that at this point
I have 3.6 GB of memory used and 3.4 GB free.
So I am wondering why cant'I allocate a couple more
of 1GB arrays?

Cheers,
Paolo

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(318,0xa000d000) malloc: *** vm_allocate(size=1000001536) failed
(error code=3)
idl(318,0xa000d000) malloc: *** error: can't allocate region
idl(318,0xa000d000) malloc: *** set a breakpoint in szone_error to
debug
% Unable to allocate memory: to make array.
Cannot allocate memory
% Execution halted at: $MAIN$
I
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Astronomy Dominates IDL Useage
Next Topic: doc_library question

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

Current Time: Fri Oct 10 06:29:25 PDT 2025

Total time taken to generate the page: 0.64121 seconds