libtool: can't vm_allocate() buffer for output file of size 1218661592 ((os/kern) no space available)

Kirill A. Korinsky kirill at korins.ky
Mon Apr 1 12:44:42 UTC 2024


On Mon, 01 Apr 2024 14:35:21 +0200,
Sergio Had wrote:
> 
> Can something be done about this error or is it a hard constraint of 32-bit
> arch?
> 

Seems like a limit for VM size for 32bit application.

A while ago, before 64 bit were usual, it was qutie tricky to work with
large files. Each application must to implement a kind of pageing to support
large files.

But since 64bit is something that everyone expets, we have a world where you
may mmap into memory any file and simple work with it as huge array.

With one notable exception: Java. Java enforces such limit for back
compatibility with 32 bit platforms.

-- 
wbr, Kirill


More information about the macports-dev mailing list