Memorylogic - Memory usage logger

  •        3891

This library help to track down memory leak. It worked very well because it adds the process id and memory usage in with EVERY single line logged and at the end of each rails request. This way, if you have a cluster, you can monitor each process and scroll through your logs and watch the memory. If it suddenly starts to jump you can look at the request and at least you have a starting point. You can checkout the code for that specific controller action and try to narrow it down.

http://github.com/binarylogic/memorylogic

Tags
Implementation
License
Platform

   




Related Projects

Memprof - A Ruby gem for memory profiling


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.

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.



goappmonitor - Golang application performance data monitoring.


Golang application performance data monitoring.GoAppMonitor is a library which provides a monitor on your golang applications. It contains system level based monitoring and business level monitoring(custom monitoring).Just add the repository into your apps and register what you want to monitoring.

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).

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.

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

phptop - PHP basic ressource profiler (CPU/memory), safe and useful for production sites


PHP basic ressource profiler (CPU/memory), safe and useful for production sites