Open ademismaili opened 4 months ago
Hi @ademismaili,
you can adjust the memory_limit in the following file (replace 8.1 with the installed PHP version on your system):
/etc/php/8.1/fpm/conf.d/oitc.php.ini
Increase the value for memory_limit = 512M
for example to 1024M
or so.
Run openitcockpit-update
to apply the change.
Describe the bug When i try to generate an Autoreport for a Month ill get a Fatal PHP Error
To Reproduce Steps to reproduce the behavior: Generate Autoreport PDF with eventcorrelations
Expected behavior Create PDF
Versions
Additional context Request URL: /autoreport_module/autoreports/generate.json Referer URL: https://xxxxx Client IP: xxxx 2024-04-08 15:27:55 error: [Cake\Error\FatalErrorException] Fatal Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /opt/openitc/frontend/src/itnovum/openITCOCKPIT/Core/Views/Statehistory.php on line 211 Stack Trace: