Skip to main content

A memory profiler for zope

Project description

Introduction

MemoryProfiler provides memory profiling support for Zope. It use heapy (http://guppy-pe.sourceforge.net/#Heapy) in internal. It’s just an interface to this tool.

Installation

As zope profiler, the tool is automatic created in control panel of your zope instance

Use

  • You start profiling by a click to the start button, you take an snapshot of the memory at instant t.

  • When you click to updateSnapshot, you will see what objects are added between the start and the click to updateSnashot. It will be usefull to detect Memory Leak.

  • Each snapshot is store (as string) results to be consult later (link to the date).

  • The button clear db cache clear all zeo cache of all mounting point so you can see the impact of the memory of those cache.

  • You can see reference of a particular class in memory with the button reference detail.

    • Index is the index of the table of the last snapshot

    • depth is the depth in the tree of reference and

    • limit is the number of results that the reference method should be return.

For windows users, you must compile guppy. There is an egg for python 2.6 but no for python 2.4. I have fatal error with Mingw to compile guppy. I hope that we have soon a binary egg to for python 2.4.

I hope that this tool give to us usefull informations to the memory consume by zope.

Changelog

0.1 - Unreleased

  • Initial release

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Products.MemoryProfiler-0.1.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file Products.MemoryProfiler-0.1.tar.gz.

File metadata

File hashes

Hashes for Products.MemoryProfiler-0.1.tar.gz
Algorithm Hash digest
SHA256 ef85b63e481d6d016c376eabf56da6e91b2e2a3a4e63502d0e2dd5e0a85496cd
MD5 dce722de60af8c1e93df2259a3c77f8f
BLAKE2b-256 fae553291a91aef17bfa1c3c26350b2e3f1e926c3975270d05b465c8d5a548c3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page