Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

TestBucket_Put_ValueTooLarge: out of memory #712

Open
aviau opened this issue Jul 27, 2017 · 0 comments
Open

TestBucket_Put_ValueTooLarge: out of memory #712

aviau opened this issue Jul 27, 2017 · 0 comments

Comments

@aviau
Copy link

aviau commented Jul 27, 2017

Hello!

I am getting failing tests on i386:

=== RUN   TestBucket_Put_ValueTooLarge
runtime: out of memory: cannot allocate 2147483648-byte block (10485760 in use)
fatal error: out of memory

runtime stack:
runtime.throw(0x81d8258, 0xd)
	/usr/lib/go-1.8/src/runtime/panic.go:596 +0x7c
runtime.largeAlloc(0x7fffffff, 0x18520001, 0x18500a50)
	/usr/lib/go-1.8/src/runtime/malloc.go:809 +0xdb
runtime.mallocgc.func1()
	/usr/lib/go-1.8/src/runtime/malloc.go:702 +0x31
runtime.systemstack(0x18521500)
	/usr/lib/go-1.8/src/runtime/asm_386.s:337 +0x5e
runtime.mstart()
	/usr/lib/go-1.8/src/runtime/proc.go:1132

goroutine 127 [running]:
runtime.systemstack_switch()
	/usr/lib/go-1.8/src/runtime/asm_386.s:291 fp=0x189596b0 sp=0x189596ac
runtime.mallocgc(0x7fffffff, 0x81b27e0, 0x81d6101, 0x3)
	/usr/lib/go-1.8/src/runtime/malloc.go:703 +0x6c7 fp=0x18959700 sp=0x189596b0
runtime.makeslice(0x81b27e0, 0x7fffffff, 0x7fffffff, 0x18de1418, 0x3, 0x8)
	/usr/lib/go-1.8/src/runtime/slice.go:54 +0x5d fp=0x18959724 sp=0x18959700
github.com/boltdb/bolt_test.TestBucket_Put_ValueTooLarge.func1(0x18d8ca80, 0x81e2668, 0x18d8ca80)
	/build/golang-github-boltdb-bolt-1.3.1/obj-i686-linux-gnu/src/github.com/boltdb/bolt/bucket_test.go:1127 +0x10d fp=0x18959778 sp=0x18959724
github.com/boltdb/bolt.(*DB).Update(0x1856f9e0, 0x189597b0, 0x0, 0x0)
	/build/golang-github-boltdb-bolt-1.3.1/obj-i686-linux-gnu/src/github.com/boltdb/bolt/db.go:598 +0x83 fp=0x1895979c sp=0x18959778
github.com/boltdb/bolt_test.TestBucket_Put_ValueTooLarge(0x18d8ca00)
	/build/golang-github-boltdb-bolt-1.3.1/obj-i686-linux-gnu/src/github.com/boltdb/bolt/bucket_test.go:1131 +0xc1 fp=0x189597d4 sp=0x1895979c
testing.tRunner(0x18d8ca00, 0x81e2800)
	/usr/lib/go-1.8/src/testing/testing.go:657 +0x7e fp=0x189597e8 sp=0x189597d4
runtime.goexit()
	/usr/lib/go-1.8/src/runtime/asm_386.s:1629 +0x1 fp=0x189597ec sp=0x189597e8
created by testing.(*T).Run
	/usr/lib/go-1.8/src/testing/testing.go:697 +0x242

goroutine 1 [chan receive]:
testing.(*T).Run(0x1857a580, 0x81dcc7c, 0x1c, 0x81e2800, 0x80a6e01)
	/usr/lib/go-1.8/src/testing/testing.go:698 +0x263
testing.runTests.func1(0x1857a580)
	/usr/lib/go-1.8/src/testing/testing.go:882 +0x4d
testing.tRunner(0x1857a580, 0x1853bee4)
	/usr/lib/go-1.8/src/testing/testing.go:657 +0x7e
testing.runTests(0x1850aac0, 0x829a220, 0x90, 0x90, 0x1857a518)
	/usr/lib/go-1.8/src/testing/testing.go:888 +0x238
testing.(*M).Run(0x18542f98, 0x1853bf7c)
	/usr/lib/go-1.8/src/testing/testing.go:822 +0xc0
main.main()
	github.com/boltdb/bolt/_test/_testmain.go:364 +0xe8
exit status 2
FAIL	github.com/boltdb/bolt	4.843s
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant