• 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
Running out of process VM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Running out of process VM


  • Subject: Running out of process VM
  • From: "M. Carlson" <email@hidden>
  • Date: Thu, 13 Apr 2006 22:23:03 +0000

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: This email sent to email@hidden
  • Follow-Ups:
    • Re: Running out of process VM
      • From: "Shawn Erickson" <email@hidden>
    • Re: Running out of process VM
      • From: Tom Marchand <email@hidden>
  • Prev by Date: Re: Extending NSCalendar and NSDateFormatter?
  • Next by Date: Notifications in Non-GUI program
  • Previous by thread: Re: NSArrayController and programatic add
  • Next by thread: Re: Running out of process VM
  • Index(es):
    • Date
    • Thread