Questions tagged [memprof]

6 questions
8
votes
1 answer

cpuprofile and memprofile in golang testing

I tried the command go test -cpuprofile cpu.out on a GO test file and it resulted in a file cpu.out which is full of many 64 bit numbers. It doesn't make any sense to me. What did the command do and what information can get I extract from cpu.out…
Jsmith
  • 585
  • 6
  • 16
5
votes
2 answers

Ruby 1.8.7: Symbol not found Error

Just did a fresh install of ruby 1.8.7 REE and MRI on a machine with fresh gem sets (Using RVM) Yet in each of them when I try to use memprof i get this error $ gem install memprof $ irb >> require 'rubygems' >> require 'memprof' >> LoadError:…
Schneems
  • 14,918
  • 9
  • 57
  • 84
4
votes
1 answer

How to configure memprof in a Rails 2.3.14 application?

I have added these lines in my config/initializer require 'memprof/middleware' config.middlewares.use(Memprof::Middleware) require 'memprof/tracer' config.middleware.insert(0, Memprof::Tracer) Getting this error…
krunal shah
  • 16,089
  • 25
  • 97
  • 143
2
votes
1 answer

Rails application not freeing memory?

In my rails application total object are increasing with every request. Objects are not freeing after GC runs. I am using Rails 3.2.3 and ruby 1.9.3. Can someone point me in right direction ? Where to start? What are the available tools ? Tools…
krunal shah
  • 16,089
  • 25
  • 97
  • 143
1
vote
1 answer

OCaml memory profiling with Memprof - TypeRex Utility

My program uses all of available memory, so I wanted to check which functions and abstracts are spoiling my project. I decided to use Memprof, so I installed their compiler and compiled my code with command ocamlfind ocamlopt -package xml-light…
SzymonPajzert
  • 692
  • 8
  • 18
0
votes
1 answer

How to configure memprof in a Rails 3 application?

(First of all I don't speak english as well as I wish, I hope you forgive my mistakes :S ) I am very newbie with Ruby and Rails and I am very confused and frustrated because of the memory leaks that I'm having in my application when it runs in…
torhector2
  • 443
  • 1
  • 5
  • 19