Due to the memory consumption of this tool, hb-view will infrequently raise an out of memory error (I've only had this happen on Ubuntu with machines that have less than 8gb of memory). If an out of memory error occurs, the glyph which caused it is appended to the diff so we can manually check it.
When I run memory_profiler, the tool does consume a boat load of memory. We are often diffing millions of objects against each other. I may spend sometime in the future refactoring/optimising the memory consumption. For now, it will have to do.
This is a temp fix.
Due to the memory consumption of this tool, hb-view will infrequently raise an out of memory error (I've only had this happen on Ubuntu with machines that have less than 8gb of memory). If an out of memory error occurs, the glyph which caused it is appended to the diff so we can manually check it.
When I run memory_profiler, the tool does consume a boat load of memory. We are often diffing millions of objects against each other. I may spend sometime in the future refactoring/optimising the memory consumption. For now, it will have to do.