Add debug comment
This commit is contained in:
@@ -233,6 +233,10 @@ class GuiMainStatus(QStatusBar):
|
|||||||
"""Display memory info on the status bar. This is used to
|
"""Display memory info on the status bar. This is used to
|
||||||
investigate memory usage and Qt widgets that get left in memory.
|
investigate memory usage and Qt widgets that get left in memory.
|
||||||
Enabled by the --meminfo command line flag.
|
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
|
import tracemalloc
|
||||||
from collections import Counter
|
from collections import Counter
|
||||||
|
|||||||
Reference in New Issue
Block a user