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

Allowed memory size of 536870912 bytes exhausted #250

Open
xyitest2 opened this issue Sep 8, 2024 · 1 comment
Open

Allowed memory size of 536870912 bytes exhausted #250

xyitest2 opened this issue Sep 8, 2024 · 1 comment

Comments

@xyitest2
Copy link

xyitest2 commented Sep 8, 2024

Describe the bug

After creating the task I wanted to delete duplicate file. Deletion ends up with following:

Allowed memory size of 536870912 bytes exhausted (tried to allocate 94583200 bytes) at /app/www/public/lib/private/AppFramework/Middleware/CompressionMiddleware.php#88

I increased memory for php in NextCloud via (...)/nextcloud/appdata/php/php-local.ini

This change was accepted by NextCloud - I can see new 1 GB PHP memory limit in NextCloud System report.

Despite of the change error still remains.

Similar NC issue: nextcloud/server#31528

To Reproduce

Create the task and delete any of the duplicate files found.

Deletion ends up with following:
Allowed memory size of 536870912 bytes exhausted (tried to allocate 94583200 bytes) at /app/www/public/lib/private/AppFramework/Middleware/CompressionMiddleware.php#88

Visible as pop-up info and in Administration settings -> Logging

Expected behavior

Deletion happens with no error.

Desktop (please complete the following information):

OpenMediaVault 7.4.7-1 (Sandworm), Debian based (see below), NextCloud instance running as docker container

system info:
{
"nextcloud-version": "29.0.6.1",
"app-versions": {
"cloud_py_api-version": "0.1.9"
},
"is-videos-supported": true,
"is-snap": false,
"arch": "amd64",
"webserver": "nginx/1.26.2",
"database": {
"type": "mysql",
"version": "10.11.8",
"size": "168525824"
},
"php-version": "8.3.10",
"php-interpreter": "php",
"python-interpreter-setting": "/usr/bin/python3",
"os": "Linux",
"os-release": "6.1.0-25-amd64",
"machine-type": "x86_64"
}

@jeremiaskleer
Copy link

Similar here:
Allowed memory size of 536870912 bytes exhausted (tried to allocate 92321408 bytes) at /var/www-ssl/documentRootNextCloud/lib/private/AppFramework/Middleware/CompressionMiddleware.php#70

Url mentioned in Log:
"url": "/apps/logreader/api/poll?lastReqId=6EIrvnXumn61SbbDEe3z"

nginx/1.26.0
php 8.3.14
Memory-limit 536870912 (500 MB)

Nextcloud Hub 9 (30.0.4)

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

2 participants