Port-m68k archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GCC 4.8 out of memory



    Date:        Tue, 22 Sep 2015 21:06:54 +0200
    From:        Frank Wille <frank%phoenix.owl.de@localhost>
    Message-ID:  <46f583b8aae.ac71eed%mail.owl.de@localhost>

  | Seem like the optimal value for MAXDSIZ would be arround 224MB, which gives
  | a maximum data segment of 224MB.
  | 
  | Can somebody explain that?

Most likely malloc() is using mmap(MAP_ANON) for its arena, and that's
using space from the architectural VM limits that is outside what is
permitted for the size of  the program and its stack (MAXDSIZ) - as
MAXDSIZ gets bigger, the remaining space before the architectural limit
is reached gets smaller.

kre



Home | Main Index | Thread Index | Old Index