Reputation: 81570
I've been using memprof on a script in Ruby 1.8.7, and the most common thing that's created is a __varmap__
. What is a varmap?
Upvotes: 1
Views: 159
Reputation: 5895
I think varmap refers to T_VARMAP which is an in-block variable container: http://www.ruby-forum.com/topic/141449 . When memprof encounters a T_VARMAP it prints out __varmap__
: https://github.com/ice799/memprof/blob/master/ext/memprof.c
Upvotes: 1