View Issue Details

IDProjectCategoryView StatusLast Update
6010Composrcorepublic2025-01-03 17:59
ReporterPDStig Assigned ToPDStig  
PrioritynormalSeverityminor 
Status assignedResolutionopen 
Product Version11.beta4 
Summary6010: 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
Attach Tags
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

PDStig

2025-01-03 17:56

administrator   ~9754

Last edited: 2025-01-03 17:59

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.

Add Note

View Status
Note
Upload Files
Maximum size: 32,768 KiB

Attach files by dragging & dropping, selecting or pasting them.
You are not logged in You are not logged in. This means you will not get any e-mail notifications. And if you reply, we will not know for sure you are the original poster of the issue.

Issue History

Date Modified Username Field Change
2024-10-23 00:39 PDStig New Issue
2024-10-23 00:39 PDStig Status Not Assigned => Assigned
2024-10-23 00:39 PDStig Assigned To => user4172
2024-10-23 00:39 PDStig Tag Attached: Roadmap: v11
2025-01-03 17:56 PDStig Note Added: 0009754
2025-01-03 17:58 PDStig Note Edited: 0009754
2025-01-03 17:59 PDStig Note Edited: 0009754
2025-01-03 17:59 PDStig Note Edited: 0009754