Sunday, January 06, 2008

ruby 1.9 and valgrind support

This evening I decided to stay in and take a look at valgrind with ruby 1.9. Turns out, there is now a compile option to build ruby 1.9 to be valgrind friendly by using the macros defined in valgrind/memcheck.h

./configure --with-valgrind --prefix=/home/taf2/project/mongrel-esi/trunk/ruby19-test/ && make


I think I might work on patching ruby 1.8.6 with these macros later to get a better sense for the memory usage with the mongrel-esi parser.

Update:

Evan has the patch here. As well as a great tutorial for how to use it.

1 comments:

Evan said...

I would love that 1.8.6 patch.

Reading list