Open Paper-Dragon opened 2 weeks ago
I believe the current implementation reads all of the data into memory before encoding it to JSON. I do agree that it would be better to stream the records to stdout as we read them. This is a bit harder to do with the Go JSON library as it doesn't have streaming functionality built in, but it does seem doable.
This command uses up all my memory, is it possible to optimize it while converting every ip?
memory: 32G command: