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

There seems to be a memory leak somewhere? #21

Open
FourShore opened this issue Jan 3, 2020 · 1 comment
Open

There seems to be a memory leak somewhere? #21

FourShore opened this issue Jan 3, 2020 · 1 comment

Comments

@FourShore
Copy link

FourShore commented Jan 3, 2020

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

@phpdave11
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants