pickcells-essentials issueshttps://framagit.org/pickcellslab/pickcells-essentials/-/issues2022-06-03T13:07:34Zhttps://framagit.org/pickcellslab/pickcells-essentials/-/issues/11Features computation out of memory error when processing lots of images2022-06-03T13:07:34ZGuillaume BlinFeatures computation out of memory error when processing lots of imagesCurrently [FeatureComputerManager](https://framagit.org/pickcellslab/pickcells-essentials/blob/master/pickcells-coremodules/src/main/java/org/pickcellslab/pickcells/features/FeatureComputerManager.java) keeps all the created objects acro...Currently [FeatureComputerManager](https://framagit.org/pickcellslab/pickcells-essentials/blob/master/pickcells-coremodules/src/main/java/org/pickcellslab/pickcells/features/FeatureComputerManager.java) keeps all the created objects across all registered images in memory before committing them to the database.
We need to adopt a system to commit objects to the database after each image while still enabling a roll back mechanism if any error occurs before all images have been processed.