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 > memory allocati...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 17 Topic 5695 of 5728
Post > Topic >>

memory allocation on Macs

by pgrigis@[EMAIL PROTECTED] May 1, 2008 at 09:18 AM

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




 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 Mon May 12 2:42:44 CDT 2008.