View Issue Details

IDProjectCategoryView StatusLast Update
0006010Composrcorepublic2025-01-03 17:59
ReporterPatrick SchmalstigAssigned ToPatrick Schmalstig 
SeverityMinor-bug 
Status assignedResolutionopen 
Product Version11.beta4 
Fixed in Version 
Summary0006010: resource-fs uses too much PHP memory when loading the contents of a var directory (e.g. downloads)
DescriptionOften, a PHP out of memory error will get thrown when trying to list the contents of a directory in resource-fs under /var/ .
TagsRoadmap: v11
Time estimation (hours)
Sponsorship open

Activities

Patrick Schmalstig

2025-01-03 17:56

administrator   ~0009754

Last edited: 2025-01-03 17:59

View 4 revisions

Perhaps it would be best to refactor Resource-fs to use PHP iterators. This might be a better approach as then we can only load what we absolutely need when we need it. I'm considering it.

Though I'm not sure if this would work for /var/. This would mainly only work for folders dealing with actual files.

It may be possible to create our own iterators for other use cases.

Issue History

Date Modified Username Field Change
2024-10-23 00:39 Patrick Schmalstig New Issue
2024-10-23 00:39 Patrick Schmalstig Status non-assigned => assigned
2024-10-23 00:39 Patrick Schmalstig Assigned To => Patrick Schmalstig
2024-10-23 00:39 Patrick Schmalstig Tag Attached: Roadmap: v11
2025-01-03 17:56 Patrick Schmalstig Note Added: 0009754
2025-01-03 17:58 Patrick Schmalstig Note Edited: 0009754 View Revisions
2025-01-03 17:59 Patrick Schmalstig Note Edited: 0009754 View Revisions
2025-01-03 17:59 Patrick Schmalstig Note Edited: 0009754 View Revisions