Re: 1 GB limit on total object files size for linking?
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