-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
improvementImprovement to existing featureImprovement to existing feature
Description
refactor Output
so that it could be auto-flushed to the repository (by on-demand running flush()
or by some policy (working similarly as https://github.com/wttech/acm/blob/main/core/src/main/java/dev/vml/es/acm/core/code/CodeOutputRepo.java )
the goal is to reduce a memory allocation if script will generate a lot of outputs. right now all of them will be allocated in the memory and memory will be released after saving history.
the target approach is to write outputs to /var/acm/file/ ... then on executionHistory.saveOutputs
only flush them finally (and free memory / remaining buffer) and move them from that /var/acm/file to /var/acm/execution/history/{id}/.../outputFiles/{name}/file
Metadata
Metadata
Assignees
Labels
improvementImprovement to existing featureImprovement to existing feature