refactoring-ai / Data-Collection

Collect refactorings with metrics from java source code.
MIT License
6 stars 1 forks source link

Move in-memory db to a file-based hsql db #7

Open mauricioaniche opened 4 years ago

mauricioaniche commented 4 years ago

The process metrics database is, right now, a simple in-memory HashMap. That works, but for large projects, this map might become too big to fit in our small VMs.

One idea is to move it to a file-based HSQLDB database. After all, we often have more disk than memory available.

We should make sure to reset the file whenever the application starts (a force reset at the beginning, as the previous execution of application might not had ended gracefully..)

jan-gerling commented 4 years ago

@mauricioaniche Can we close this issue, as it is no longer relevant?