Measuring memory using ruby-prof - help required

Discussion in 'Ruby' started by, May 30, 2011.

  1. Guest

    [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.
    , May 30, 2011
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Victor 'Zverok' Shepelev

    ruby-prof vs. Object#clone

    Victor 'Zverok' Shepelev, Oct 26, 2006, in forum: Ruby
    Rick DeNatale
    Oct 26, 2006
  2. Daniel Lucraft

    ruby-prof on amd-64?

    Daniel Lucraft, Nov 20, 2006, in forum: Ruby
    Edwin Fine
    Nov 24, 2006
  3. fkc_email-news @ yahoo dot com

    ruby-prof doesn't work with ruby/tk?

    fkc_email-news @ yahoo dot com, Dec 21, 2006, in forum: Ruby
    fkc_email-news @ yahoo dot com
    Dec 21, 2006
  4. _-_ Daniel _-_

    ruby-prof on freebsd

    _-_ Daniel _-_, Dec 1, 2008, in forum: Ruby
    _-_ Daniel _-_
    Dec 1, 2008
  5. Sandeep Gupta
    Heesob Park
    Jun 9, 2009

Share This Page