gofpdi icon indicating copy to clipboard operation
gofpdi copied to clipboard

There seems to be a memory leak somewhere?

Open FourShore opened this issue 5 years ago • 1 comments

Our app dies after getting this error

"fatal error: concurrent map iteration and map write"

stacktrace leads here

{"line":"\t/go/src/github.com/phpdave11/gofpdi/importer.go:186 +0xdb fp=0xc14d43ee08 sp=0xc14d43ed38 pc=0xbde04b","source":"stderr","tag":"ss-dms"}

Also attaching pprof profile profile003

FourShore avatar Jan 03 '20 05:01 FourShore

Feel free to submit a pull request if you are able to fix the memory leak.

There was an issue where the read() function was being called twice which has since been fixed.

phpdave11 avatar May 17 '20 18:05 phpdave11