CompEvol / BeastFX

GUIs for BEAST using Java FX to make things more pretty.
GNU Lesser General Public License v2.1
4 stars 2 forks source link

LogAnalyser can fail when log files is being written to #81

Closed rbouckaert closed 8 months ago

rbouckaert commented 8 months ago

Running loganalyser on trace files that are being written to can results in an out-of-bound exception when the file is being written to between the time loganalyser determines how much memory to reserve by checking the file size, and actually parsing of the trace log.

A check to prevent such situations should be added.