View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006010 | Composr | core | public | 2024-10-23 00:39 | 2025-01-03 17:59 |
Reporter | Patrick Schmalstig | Assigned To | Patrick Schmalstig | ||
Severity | Minor-bug | ||||
Status | assigned | Resolution | open | ||
Product Version | 11.beta4 | ||||
Fixed in Version | |||||
Summary | 0006010: 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 | ||||
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 | 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 |