# Memory error

**URL:** <https://community.viktor.ai/t/memory-error/1564>\
**Category:** Need help? Ask here!\
**Created:** [18 January 2024 15:08 UTC](https://community.viktor.ai/t/memory-error/1564 "2024-01-18T15:08:10Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mweehuizen](https://community.viktor.ai/user_avatar/community.viktor.ai/mweehuizen/32/17_2.png) [@mweehuizen](https://community.viktor.ai/u/mweehuizen)\
**Post date:** [19 January 2024 14:31 UTC](https://community.viktor.ai/t/memory-error/1564/4 "2024-01-19T14:31:30Z")

</div>

You can profile the memory using the the package using this [memory profiler](https://pypi.org/project/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`

---

_[View the full topic](https://community.viktor.ai/t/memory-error/1564)._
