gofpdi
gofpdi copied to clipboard
There seems to be a memory leak somewhere?
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

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.