Skip to content

Optimize reconfiguration script to require fewer resourcesΒ #205

@zuphilip

Description

@zuphilip

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions