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
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@robinsoon
Copy link

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

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

@odeke-em odeke-em added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Jun 14, 2020
@gopherbot
Copy link

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.)

@golang golang locked and limited conversation to collaborators Aug 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants