Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Measuring memory using ruby-prof - help required

Thread Tools

Measuring memory using ruby-prof - help required
Posts: n/a
[Note: parts of this message were removed to make it a legal post.]

Hi All,

I have a requirement wherein, I need to calculate memory utilized during
particular external function calls.

After exploring I came across gem - ruby-prof which was suitable for
returning me memory usage.

But after installing, ruby-prof was able to return only CPU utilization.
It was written that one will require patch version of ruby-prof in order
to return memory utilization.

I could search the patch for ruby prof on net but was unable to apply that
to ruby-prof gem. Problem was due to some incorrect revision.

I also tried github for applying patch but with no success.

Can anyone please provide me patched version of ruby- prof which can be
used to calculate memory usage.

Or else if you have any other idea for calculating memory usage. Thanks


This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
Do not print this message unless it is necessary,
consider the environment.


Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
N'imprimez ce message que si necessaire,
pensez a l'environnement.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Measuring Memory Useage Guadala Harry ASP .Net 2 10-25-2004 09:47 PM
Measuring Memory Usgae Katerina MacLean Java 0 08-29-2004 05:44 PM
Measuring Class Load Time Using OptimizeIt John Raggio Java 10 03-07-2004 02:01 AM
Memory: measuring 5 limitations Bart Van der Donck Perl Misc 6 12-12-2003 04:32 PM
Measuring performance of Net::FTP Carlo Filippini Perl 1 09-09-2003 05:41 PM