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?
I’ve been using memprof on a script in Ruby 1.8.7, and the most common
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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