Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Allowed memory size of 536870912 bytes exhaustedΒ #250

@xyitest2

Description

@xyitest2

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"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions