skaes/rvm-patchsets

Memory usage NaN - 2.1.x

arr-dev opened this issue · 10 comments

I've compiled both MRI 2.1.0 and 2.1.5 with rvm 1.26.10 and still ruby-prof displays memory and allocation as NaN.

I've reinstalled ruby-prof after compilation.

There are no errors during compilation.

OS is Ubuntu 14.04.1 with ZSH 5.0.2.

Did you solve it @arr-dev ? (same Ubuntu version)

FYI: moved to 2.0.0 and it worked.

Can you provide a reproducible test case?

Also: did you try both patched and unpatched versions?

And which ruby-prof version did you use?

@favrik thanks, haven't tried that, maybe it will work for me too
@skaes yes, both versions. Latest ruby-prof, 0.15.3.

@arr-dev well, if both patched and unpatched versions of MRI 2.1.5 show the same behavior, then why do you think reporting an issue here is going to help solve the problem?

oh, nevermind, the unpatched version won't be able to report memory usage at all.

sorry for the confusion.

Yeah :)
No worries.

it's not a patchset bug. I forgot to update ruby-prof to use the new standard methods for measuring memory and object allocations.

fixed in ruby-prof version 0.15.4

Awesome, thanks