Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

memlog

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

memlog

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Memlog

Memlog is a simple gem to track down memory leaks in your Rails application.

Usage

Just include the Memlog module in a rails controller

class ApplicationController < ActionController::Base

  include Memlog

  # ...

end

And it will log the following output on each request

2011-12-27 08:42:47	Memory: +1009 KB	Now: 311948 KB	PID:25430	GET http://publish.mynewsdesk.com/se/edit/pressrelease

Notes

Grep for requests that increate memory consumption drastically

$ grep 'Memory: +[0-9]\{6\}' log/production.log

FAQs

Package last updated on 28 Dec 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc