• 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: 1 GB limit on total object files size for linking?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1 GB limit on total object files size for linking?


  • Subject: Re: 1 GB limit on total object files size for linking?
  • From: "Mark Wagner" <email@hidden>
  • Date: Tue, 28 Aug 2007 11:29:33 -0700

On 8/28/07, Helmut Brandt <email@hidden> wrote:
> On Tue, 28 Aug 2007 16:55:43 +0200, "Jonas Maebe"
> <email@hidden> said:
>
> > The error you posted earlier:
> >
> > > /usr/bin/ld: can't vm_allocate() buffer for output file of size
> > > 1235753308 ((os/kern) no space available)
> > > collect2: ld returned 1 exit status
> >
> > means that ld tried to allocate a block of 1.2GB of contiguous
> > memory, but that it was no longer available. This has nothing to do
> > with the amount of RAM you have installed, but means that there's no
> > such contiguous block available anymore in ld's virtual memory space.
> >
> > The problem is in ld, it probably has to be rewritten so that it no
> > longer requires that the entire finished binary can fit into ram (or
> > at least not in a single contiguous block of memory).
>
>
> Jonas - Thanks for the reply, but I am a bit confused. You say first
> that "This has nothing to do with the amount of RAM you have installed",
> but then go on to say that "ld probably has to be rewritten so that it
> no longer requires that the entire finished binary can fit into RAM".
> The latter comment seems to imply that more RAM might help??

It's called "virtual memory".  Unless you're running out of disk
space, you've effectively got 4 GB of memory available.  Putting in
more RAM will just speed things up.  The correct wording of that
sentence is "ld probably has to be rewritten so that it no longer
requires the entire finished binary to fit in memory".

--
Mark Wagner
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: 1 GB limit on total object files size for linking?
      • From: Jack Repenning <email@hidden>
References: 
 >1 GB limit on total object files size for linking? (From: "Helmut Brandt" <email@hidden>)
 >Re: 1 GB limit on total object files size for linking? (From: "Helmut Brandt" <email@hidden>)
 >Re: 1 GB limit on total object files size for linking? (From: Jonas Maebe <email@hidden>)
 >Re: 1 GB limit on total object files size for linking? (From: "Helmut Brandt" <email@hidden>)

  • Prev by Date: Re: 1 GB limit on total object files size for linking?
  • Next by Date: Re: Using llvm with Xcode
  • Previous by thread: Re: 1 GB limit on total object files size for linking?
  • Next by thread: Re: 1 GB limit on total object files size for linking?
  • Index(es):
    • Date
    • Thread