citation-style-language/csl-editor

Optimize reconfiguration script to require fewer resources

zuphilip opened this issue · 1 comments

Currently, the reconfiguration script configure.sh needs a lot of time and resources (up to 5 GB RAM) see https://github.com/citation-style-language/csl-editor/wiki/Getting-Started#reconfiguring . Generating all examples for all styles (which one might have updated) takes it times and allocate a lot of memory. Because all these examples will be written in a single file, there seems to be no (easy) way to do a more incremental update. However, the memory allocation problem should be solvable. We should check that we close early all files which are not anymore needed. Moreover, @kba suggested that also writing to the output file intermediate and then just append to this file might help as well.

(I don't work on this issue at the moment.)

yeah, this is one of the first things that should happen if someone puts serious work into this. The status quo is ridiculous