-
Notifications
You must be signed in to change notification settings - Fork 6
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
Measure memprofile #44
Comments
I just tried such patch to use pprof to observe mem usage on formatters.
With a large Avro file.
Then I ran columnify and finally got such result.
The highest consumer was a struct in |
Next, I tried the same examination for
This part was not a higher consumer.
|
Hmm, at |
One more try, to check a memory overhead on
So I found a high memory consumer! Some data members generated by
|
I will
|
If we replace intermediate records typed in
The memory consumption will be smaller than current version! It's a rough examination but memory consumption changed
So I think we should finally switch to arrow for intermediate data representation. It helps to resolve #27, and also we might be able to contribute solutions to arrow official repo. And as a short term workaround, we can do 1) writing a temp files in filesystem once, 2) compress |
I created an another issue #45, to retry implementing Arrow intermediates with a migration plan! |
Just a measure memusage, it's already finished :) |
Current version requires many ram resources. I'd like to investigate high ram consumers and try to reduce it.
ref. https://golang.org/pkg/runtime/pprof/
The text was updated successfully, but these errors were encountered: