mozleak
Library for extracting memory leaks from leak logs files
What it is and what it does
Mozleak is a Python library for parsing and extracting memory leak information from Firefox leak log files. It was designed as part of Mozilla's mozbase testing infrastructure to help developers and QA engineers identify and analyze memory leaks during Firefox development and testing.
The package has been unmaintained since 2018-12-20 and is written exclusively for Python 2.7. It has no runtime dependencies, making installation straightforward, but its age and lack of Python 3 support make it unsuitable for modern development workflows unless you are working with legacy Firefox testing infrastructure that still relies on Python 2.
Use it for:
- Analyzing memory leak logs from Firefox automated testing pipelines in legacy Python 2 environments
- Extracting leak summaries from raw leak log files for historical Firefox builds
- Integrating leak detection into Mozilla's mozbase testing framework if still in use
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Extracts memory leaks from leak log files, primarily for Firefox and Mozilla testing workflows.
No. The package is abandoned since 2018-12-20, targets only Python 2.7, and has not been updated since. Unless you are maintaining legacy Python 2 Firefox testing infrastructure, seek a modern alternative or current Mozilla testing tools.
Install
mozleak on PyPI
pip
pip install mozleakuv
uv add mozleakpoetry
poetry add mozleakInstalling mozleak
Before you install
Low install friction with no runtime dependencies. Package is abandoned since its latest release on 2018-12-20 and targets Python 2.7 only.
License in practice
Licensed under MPL (copyleft). Use is permitted but derivative works and modifications must be distributed under the same license terms.
Quickstart
pip install mozleak
import mozleak
# Parse leak logs using mozleak's leak extraction functions
Requires Python 2.7; no Python 3 support.
Verify before relying
- Whether the package still works with modern Firefox or current leak log formats
- Availability of leak log file format documentation or examples in the fact sheet
- Whether any Mozilla projects still actively use this package
- What specific leak extraction functions are available and how to call them
Package facts
| License | MPL (copyleft) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 2,794 days since the last release |
| First released | |
| Downloads | 111,228/month — #12,426 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mozleak-0.2-py2.py3-none-any.whl
Keywords: mozilla
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
guppy3Guppy 3 analyzes Python heap memory to identify…
permissive · top 5,000 on PyPI
mozcrashExtracts and formats stack traces from minidump…
copyleft · top 15,000 on PyPI
mozversionExtracts and reports version information from…
copyleft · top 15,000 on PyPI
mozsystemmonitorMonitors system resource usage by wrapping…
copyleft · top 15,000 on PyPI
mozdebugProvides utilities for launching and managing…
copyleft · top 15,000 on PyPI
mozshellutilProvides shell command-line parsing utilities…
copyleft · top 15,000 on PyPI
mozlogProvides structured logging for Python…
copyleft · top 15,000 on PyPI
mozfileProvides file and directory utilities for…
copyleft · top 15,000 on PyPI
pyleakDetects leaked asyncio tasks, threads, and…
unclear · top 15,000 on PyPI
PymplerPympler measures, monitors, and analyzes memory…
permissive · top 5,000 on PyPI