OOMAnalyser is a web page to analyse and explain the OOM message of a Linux kernel. The analysis is performed automatically in the browser. You get a summary and a list of (almost) all parameters with their values and a short explanation. Among them are also 2 diagrams that illustrate the memory usage.
The current online version is available at https://www.carstengrohmann.de/oom/ .
- Open https://www.carstengrohmann.de/oom/ in a browser
- Browse down to the paragraph "Local Installation" at the end of the document
- Open the file
OOMAnalyser.htmlin your favourite browser
Prepare the build environment
Clone the repository:
# git clone https://git.sr.ht/~carstengrohmann/OOMAnalyser
Set up the Python virtual environment:
# virtualenv env # . env/bin/activate # env/bin/pip install -Ur requirements.txt or # make venv
# . env/bin/activate # transcrypt --build --map --nomin -e 6 OOMAnalyser.py # rollup --config rollup.config.mjs or # make build
Change into the source directory and start your own small web server.
Start Python built-in web server:
# python3 -m http.server 8080 --bind 127.0.0.1 or # make websrv
Open the URL http://localhost:8080/OOMAnalyser.html in your favorite browser.
Publish a new release
NEW_VERSION- Version string of the new version e.g.
NEW_GIT_VERSION- Git version string of the new version e.g.
- Commit all open changes
Updating the documentation in
OOMAnalyser.htmland commit changes
# git commit -m "Update documentation"
Update version number in
# git commit -m "Bump version number to <NEW_VERSION>"
Create a new annotated git tag with shortened changelog
# git tag -a <NEW_GIT_VERSION>
Push changes into public repositories
# git push # git push origin --tags
Create release packages in zip and tar.gz format
# make release
Create release on SourceHut & GitHub
Start a new development cycle by setting new version numbers
- Linux man pages online
- How to read and decode OOM messages
- Kernel Source code starting points:
Check the project issue tracker for current open bugs. New bugs can be reported there also.
This project is licensed under the MIT license.
Copyright (c) 2017-2023 Carsten Grohmann, mail <add at here> carstengrohmann.de
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.