• Russ Cox's avatar
    runtime: allow use of >512 MB on 32-bit platforms · 70b0de8e
    Russ Cox authored
    runtime: memory allocated by OS not in usable range
    runtime: out of memory: cannot allocate 1114112-byte block (2138832896 in use)
    throw: out of memory
    
    runtime.throw+0x40 /Users/rsc/g/go/src/pkg/runtime/runtime.c:102
            runtime.throw(0x1fffd, 0x101)
    runtime.mallocgc+0x2af /Users/rsc/g/go/src/pkg/runtime/malloc.c:60
            runtime.mallocgc(0x100004, 0x0, 0x1, 0x1, 0xc093, ...)
    runtime.mal+0x40 /Users/rsc/g/go/src/pkg/runtime/malloc.c:289
            runtime.mal(0x100004, 0x20bc4)
    runtime.new+0x26 /Users/rsc/g/go/src/pkg/runtime/malloc.c:296
            runtime.new(0x100004, 0x8fe84000, 0x20bc4)
    main.main+0x29 /Users/rsc/x.go:11
            main.main()
    runtime.mainstart+0xf /Users/rsc/g/go/src/pkg/runtime/386/asm.s:93
            runtime.mainstart()
    runtime.goexit /Users/rsc/g/go/src/pkg/runtime/proc.c:178
            runtime.goexit()
    ----- goroutine created by -----
    _rt0_386+0xbf /Users/rsc/g/go/src/pkg/runtime/386/asm.s:80
    
    R=iant, r
    CC=golang-dev
    https://golang.org/cl/4444073
    70b0de8e
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.ccmd Loading commit data...
Make.clib Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.inc Loading commit data...
Make.pkg Loading commit data...
all-qemu.bash Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
env.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...
version.bash Loading commit data...