Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory optimization #43

Open
srobotta opened this issue Aug 14, 2024 · 0 comments
Open

Memory optimization #43

srobotta opened this issue Aug 14, 2024 · 0 comments

Comments

@srobotta
Copy link
Collaborator

Apparently the script needs quite a lot of memory. We have globally 128MB allowed for PHP processes. This used to be sufficient for the plugin.
Now in several places I get a memory exception and therefore a blank page. Unfortunately I have no stack trace. The log entry only contained the following:
Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65536 bytes) in /srv/moodle.bfh.ch/moodle/lib/mustache/src/Mustache/Cache/NoopCache.php(45) : eval()'d code on line 3'

A hot fix is to increase the memory in the report.php and view.php.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant