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

Memory leak #802

Open
alex-entro opened this issue Apr 15, 2024 · 2 comments
Open

Memory leak #802

alex-entro opened this issue Apr 15, 2024 · 2 comments

Comments

@alex-entro
Copy link

Hi,

My app kept crashing, and after running pprof it's directing toward this library. I am working with files of maximum 8MB, and here is what returned by pprof:

709.69MB 37.93% 37.93%   709.69MB 37.93%  github.com/tealeg/xlsx/v3.newCell (inline)
569.68MB 30.45% 68.39%   569.68MB 30.45%  github.com/tealeg/xlsx/v3.(*MemoryRow).growCellsSlice (inline)
401.53MB 21.46% 89.85%   401.53MB 21.46%  github.com/tealeg/xlsx/v3.parseNumberFormatSection
149.51MB  7.99% 97.84%   551.04MB 29.45%  github.com/tealeg/xlsx/v3.parseFullNumberFormatString
@tealeg
Copy link
Owner

tealeg commented Apr 15, 2024

@alex-entro it's a long standing issue I'm afraid. I don't really have the time to debug it so I'd be happy for anyone to have a crack.

@defined-user
Copy link

Could anyone provide an example I could use for debugging? I started looking for XLSX support for go and came across this repo, and I might spend some time investigating this issue.

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

3 participants