Hello, this is very possibly a very dumb question but also I'm at wits end.
I am using this package: github.com/danielchalef/jsplit to split some very large JSON files (4GB gzipped, ~300 GB decompressed) that is stored on Azure Blob Storage.
When I run the code, I would get this message (not sure if warning or just debug message):
A blob.reader reading from "path/to/file/in/az/blob.json.gz" was never closed (/path/to/danielchalef/jsplit/pkg/cloud/blob.go:69)
Eventually, this uses up all the memory in WSL and crashes it. As in, it would just kill WSL entirely and I have to restart it.
Is it possible that this is the cause of my issue? Or should I look somewhere else?
My Go-fu isn't very good, so I couldn't really figure this out on my own.
Could someone shed some light on this? Very much appreciated.