... Generating texture atlases: Sorting texture patches... done. terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted (core dumped)