leopard malloc error

  • Hi,

    I am trying to compile potrace in 10.5 leopard.

    following error occurs when I try to execute the binary.

    potrace(214) malloc: *** mmap(size=4294946816) failed (error code=12)

    *** error: can't allocate region

    *** set a breakpoint in malloc_error_break to debug

    potrace: /Users/Me/Desktop/Untitled.bmp: Cannot allocate memory

    waiting for help.

    regards,

    Heal.
  • On 7 Nov 2007, at 12:10, heal 2003 wrote:

    > Hi,
    >
    > I am trying to compile potrace in 10.5 leopard.
    >
    > following error occurs when I try to execute the binary.
    >
    > potrace(214) malloc: *** mmap(size=4294946816) failed (error code=12)

    Are you compiling in 64 bit mode?  Because you just tried to allocate
    4 gigs of RAM.

    Bob
previous month november 2007 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Go to today