You can profile the memory using the the package using this memory profiler package in your development environment.
install the package in your venv using:
pip install memory_profiler
Start VIKTOR with the profiler with:
mprof run viktor-cli.exe start
use the app as normal in the browser. Afterwards you can check the memory usage using:
mprof plot
If the plot gives an error, try to install PyQt5 in your venv.
pip install PyQt5