From 1edfcfcd9170572669853e1eb45257b94da300ca Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Wed, 29 Nov 2023 08:10:16 +0100 Subject: [PATCH] Add debug comment --- novelwriter/gui/statusbar.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/novelwriter/gui/statusbar.py b/novelwriter/gui/statusbar.py index 070f93ee..a1b5d133 100644 --- a/novelwriter/gui/statusbar.py +++ b/novelwriter/gui/statusbar.py @@ -233,6 +233,10 @@ class GuiMainStatus(QStatusBar): """Display memory info on the status bar. This is used to investigate memory usage and Qt widgets that get left in memory. Enabled by the --meminfo command line flag. + + By default, this tracks memory usage diff after launch. To track + full memory usage, set environment variable PYTHONTRACEMALLOC=1 + before starting novelWriter. """ import tracemalloc from collections import Counter