View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
6010 | Composr | core | public | 2024-10-23 00:39 | 2025-01-03 17:59 |
Reporter | PDStig | Assigned To | PDStig | ||
Priority | normal | Severity | minor | ||
Status | assigned | Resolution | open | ||
Product Version | 11.beta4 | ||||
Summary | 6010: resource-fs uses too much PHP memory when loading the contents of a var directory (e.g. downloads) | ||||
Description | Often, a PHP out of memory error will get thrown when trying to list the contents of a directory in resource-fs under /var/ . | ||||
Tags | Roadmap: v11 | ||||
Attach Tags | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
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. |
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 |