Memprof - A Ruby gem for memory profiling

  •        0

Memprof is a Ruby level memory profiler that can help you find reference leaks in your application. Memprof can also do very lightweight function call tracing to help you figure out which system calls, and library calls your code causes. Ruby memory profiler similar to bleak_house, but without patches to the Ruby VM.

It uses various binary rewriting techniques to insert hooks into the running Ruby process, allowing you to collect data without having to run a patched Ruby installation. Currently, memprof provides data about object allocation, garbage collection, and full dumps of the Ruby heap.

http://memprof.com/ is a hosted service to analyze dumps and it will be free during beta period.

http://github.com/ice799/memprof

Tags
Implementation
License
Platform

   




Related Projects

Memorylogic - Memory usage logger


Adds in proccess id and memory usage in your rails logs, great for tracking down memory leaks.

php-memory-profiler - Memory usage profiler for PHP


php-memprof profiles memory usage of PHP scripts, and especially can tell which function has allocated every single byte of memory currently allocated.In script 1, a before/after approach would designate file_get_contents() as huge memory consumer, while the memory it allocates is actually freed quickly after it returns. When dumping the memory usage after a() returns, the memprof approach would show that file_get_contents() is a small memory consumer since the memory it allocated has been freed at the time memprof_dump_array() is called.

Valgrind


Valgrind is an award-winning instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail. You can also use Valgrind to build new tools.

Alleyoop


Alleyoop is a graphical front-end to the increasingly popular Valgrind memory checker for the x86 and x86_64 flavors of Linux using the Gtk+ widget set and other GNOME libraries for the X-Windows environment.

memprof - A memory profiler for Python. As easy as adding a decorator!


A memory profiler for Python. As easy as adding a decorator!

memprof - Tool for memory profiling and leak detection


Tool for memory profiling and leak detection

X-Mem - Extensible Memory Benchmarking Tool


X-Mem is a flexible open-source research tool for characterizing memory hierarchy throughput, latency, power, and more. The tool was developed jointly by Microsoft and the UCLA NanoCAD Lab. This project was started by Mark Gottscho (Email: mgottscho@ucla.edu) as a Summer 2014 PhD intern at Microsoft Research. X-Mem is released freely and open-source under the MIT License. The project is under active development.We have a research tool paper describing the motivation, design, and implementation of X-Mem, as well as three experimental case studies using tools to deliver insights useful to both cloud providers and subscribers. If you use our tool and publish or otherwise publicly report results, we ask that you please cite the following paper as well as provide a link to our tool homepage (https://nanocad-lab.github.io/X-Mem).

tc-mem - tc-mem is a memory pool


tc-mem is a memory pool

memory-profiler - Memory Profiler Firefox extension


Memory Profiler Firefox extension

vanhelsing - Super streamlined memory profiler with real time graphs for Ruby programs


Super streamlined memory profiler with real time graphs for Ruby programs

MAIP


The Memory Access Intensity Profiler (MAIP) is developed as a standalone Pin-based DBA profiler. MAIP aims to provide some unprocessed basic data for each function in an application with the main objective of revealing the intensity of memory access operations. Furthermore, MAIP can act as an enhanced alternative to the traditional gprof profiler, allowing accurate measurements for applications with a small running time.

JVM Monitor - Java profiler integrated with Eclipse


JVM Monitor is a Java profiler integrated with Eclipse to monitor CPU, threads and memory usage of Java applications. JVM Monitor would be useful to quickly inspect Java applications without preparing any launch configuration beforehand. JVM Monitor automatically finds the running JVMs on local host and you can easily start monitoring them. It is also supported to monitor Java applications on remote host by giving hostname and port number.

async-profiler - Sampling CPU and HEAP profiler for Java featuring AsyncGetCallTrace + perf_events


This project is a low overhead sampling profiler for Java that does not suffer from Safepoint bias problem. It features HotSpot-specific APIs to collect stack traces and to track memory allocations. The profiler works with OpenJDK, Oracle JDK and other Java runtimes based on HotSpot JVM.There are two operating modes: CPU profiling and HEAP profiling.

leakcanary - A memory leak detection library for Android and Java.


A memory leak detection library for Android and Java.You're good to go! LeakCanary will automatically show a notification when an activity memory leak is detected in your debug build.

milu - Memory checking lib: allocation accounting, memory leak detection. Reduce performance impact.


Memory checking lib: allocation accounting, memory leak detection. Reduce performance impact.

mull - /dev/null + /dev/mem (without actually writing to /dev/mem) linux kernel character device.


/dev/null + /dev/mem (without actually writing to /dev/mem) linux kernel character device.

Devel-MemoryProfiler - A crude effort of a perl memory usage profiler


A crude effort of a perl memory usage profiler