View Issue Details

IDProjectCategoryView StatusLast Update
0000526Composr[All Projects] General / Uncategorisedpublic2012-05-27 21:25
ReporterChris GrahamAssigned ToChris Graham 
SeverityMinor-bug 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0000526: Large tabular catalogues may use excessive RAM
DescriptionComposr tries to limit RAM used by tabular catalogues by flattening the Tempcode tree for each table row. However the Tempcode engine still can use a lot of memory when large numbers of flattened rows are appended. PHP generally is a real memory hog due to the way it stores loosely-typed dynamic data structures.

Refactor the Tempcode engine so that concatenated flattened segments are done as a single string sequence by detecting the intention for optimisation and being clever about manipulating how things are concatenated.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Chris Graham

2012-05-27 21:25

administrator   ~0000561

Fixed in git commit f5de557 (https://github.com/chrisgraham/Composr/commit/f5de557 - link will become active once code pushed)

A hotfix (a TAR of files to upload) have been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

hotfix-526, 2012-05-27 10pm.tar (61,440 bytes)

Chris Graham

2012-05-27 22:49

administrator   ~0000562

Automated response: Tempcode optimisation not stable

The Tempcode optimisation made in 0000526 doesn't always work. Fix failure case.

Chris Graham

2012-05-27 22:49

administrator   ~0000563

Fixed in git commit af060a5 (https://github.com/chrisgraham/Composr/commit/af060a5 - link will become active once code pushed)

A hotfix (a TAR of files to upload) have been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

hotfix-526, 2012-05-27 11pm.tar (61,440 bytes)

Issue History

Date Modified Username Field Change
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised