[root@s3 twitter]# go tool pprof http://localhost:6060/debug/pprof/heap --text
Read http://localhost:6060/debug/pprof/symbol
Fetching /pprof/heap profile from localhost:6060 to
/tmp/76z7mNTrzO
Wrote profile to /tmp/76z7mNTrzO
Adjusting heap profiles for 1-in-524288 sampling rate
Total: 47.5 MB
24.5 51.6% 51.6% 24.5 51.6% reflect.unsafe_NewArray
23.0 48.4% 100.0% 23.0 48.4% database/sql.convertAssign
0.0 0.0% 100.0% 23.0 48.4% database/sql.(*Rows).Scan
0.0 0.0% 100.0% 47.5 100.0% github.com/coopernurse/gorp.(*DbMap).Select
0.0 0.0% 100.0% 47.5 100.0% github.com/coopernurse/gorp.hookedselect
0.0 0.0% 100.0% 47.5 100.0% github.com/coopernurse/gorp.rawselect
0.0 0.0% 100.0% 47.5 100.0% main.getTwitterNoParse
0.0 0.0% 100.0% 27.5 57.9% main.main
0.0 0.0% 100.0% 47.5 10
Read http://localhost:6060/debug/pprof/symbol
Fetching /pprof/heap profile from localhost:6060 to
/tmp/76z7mNTrzO
Wrote profile to /tmp/76z7mNTrzO
Adjusting heap profiles for 1-in-524288 sampling rate
Total: 47.5 MB
24.5 51.6% 51.6% 24.5 51.6% reflect.unsafe_NewArray
23.0 48.4% 100.0% 23.0 48.4% database/sql.convertAssign
0.0 0.0% 100.0% 23.0 48.4% database/sql.(*Rows).Scan
0.0 0.0% 100.0% 47.5 100.0% github.com/coopernurse/gorp.(*DbMap).Select
0.0 0.0% 100.0% 47.5 100.0% github.com/coopernurse/gorp.hookedselect
0.0 0.0% 100.0% 47.5 100.0% github.com/coopernurse/gorp.rawselect
0.0 0.0% 100.0% 47.5 100.0% main.getTwitterNoParse
0.0 0.0% 100.0% 27.5 57.9% main.main
0.0 0.0% 100.0% 47.5 10