• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Running out of process VM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running out of process VM


  • Subject: Re: Running out of process VM
  • From: John Stiles <email@hidden>
  • Date: Thu, 13 Apr 2006 15:34:56 -0700

Today's Intel machines do not support 64 bits.
Mac state-of-the-art is 64-bit on G5 only, and only in a command-line process. Expect Apple to improve this situation in the future, as Intel catches up to PowerPC and the OS matures.
You may find that you can allocate the amount of memory you want to allocate, but not in one big slab. Heap fragmentation is almost certainly playing a role here.



On Apr 13, 2006, at 3:31 PM, Tom Marchand wrote:

I didn't think the Intel machines supported 64 bits.


On Apr 13, 2006, at 6:23 PM, M. Carlson wrote:

I'm writing a Cocoa app (10.4.6, Xcode 2.2, PM 2xG5 2GHz, 8GB), and I'm loading large tensor matrices, 1.1 GB each. The problem is that I can only load one, the second one crashes the app with malloc complaining "cannot allocate memory". I've verified in gdb that the size I'm requesting is correct.

Base VM of the app is 380 MB. After loading one of the tensor matrices, it goes up to 1.48 GB. But why should loading the next 1.1 GB tensor matrix cause the app to blow? Adding the next one should only bring it up to 2.58 GB (Safari currently is sitting at 2.66 GB). Don't I have 4 GB (or thereabouts) of VM available to the app? Do the new Intel machines have a 64-bit VM address space?

-Matt


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40comcast.net


This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Running out of process VM (From: "M. Carlson" <email@hidden>)
 >Re: Running out of process VM (From: Tom Marchand <email@hidden>)

  • Prev by Date: Re: Running out of process VM
  • Next by Date: Re: Running out of process VM
  • Previous by thread: Re: Running out of process VM
  • Next by thread: Re: Running out of process VM
  • Index(es):
    • Date
    • Thread