Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buffer.go Grow() size=500.7MB fatal error: out of memory #39517

Closed
robinsoon opened this issue Jun 11, 2020 · 2 comments
Closed

buffer.go Grow() size=500.7MB fatal error: out of memory #39517

robinsoon opened this issue Jun 11, 2020 · 2 comments

Comments

@robinsoon
Copy link

@robinsoon robinsoon commented Jun 11, 2020

[buffer.go]

sw.rawData.Bytes()
Buffer Flush
CREATE bytes.Buffer C:\Users\robin\AppData\Local\Temp\excelize-054951619
buf.Grow() size= 525019669

grow( 525019669 ) tryGrowByReslice
grow( 525019669 ) cap= 0
grow( 525019669 ) makeSlice <<Error

runtime: out of memory: cannot allocate 525025280-byte block (62652416 in use)
fatal error: out of memory

runtime stack:
runtime.throw(0x7b6a60, 0xd)
D:/Productivity/Go/src/runtime/panic.go:774 +0x64
runtime.largeAlloc(0x1f4b2a15, 0x101, 0x33b40958)
D:/Productivity/Go/src/runtime/malloc.go:1140 +0x108
runtime.mallocgc.func1()
D:/Productivity/Go/src/runtime/malloc.go:1033 +0x39
runtime.systemstack(0x345d3ef0)
D:/Productivity/Go/src/runtime/asm_386.s:399 +0x53
runtime.mstart()
D:/Productivity/Go/src/runtime/proc.go:1146

$ go version 1.13.5 windows/amd64

buffer.go Grow(525019669)
size=500.7MB
fatal error: out of memory

@davecheney
Copy link
Contributor

@davecheney davecheney commented Jun 11, 2020

What are the details of the system you are running on?

@gopherbot
Copy link

@gopherbot gopherbot commented Aug 6, 2020

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@gopherbot gopherbot closed this Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.