Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upReduce converter memory usage with on-demand read #1256
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


The new converter (#1151) uses member objects to operate on data from the
.datfiles. While these provide the necessary functions for conversion, they are also significantly larger than the original dat file entries (20x - 400x the size). This results in a comparatively high memory usage, especially for DE2 which uses ~1.1 GB of memory for all dat file entries. Note that the converter does not create objects for all entries by default, but the size difference compared to the source is still significant.A solution to this problem could be that we read certain structures into member objects on-demand during conversion, instead of all converting them during the initial read.
This would require:
ValueMemberclass that references an offset in the .dat file and aGenieStructurereference for the dataformat