The memory required for one read was estimated as:
void ReadShortReadsSubTask::run() { ... n*24 + sizeof(SearchQuery) + ONE_SEARCH_QUERY_SIZE + query->length() + query->getNameLength() + query->getQuality().qualCodes.length() ... }
But this was not enough and bad_alloc occurred on big data samples. A temporarily fix was done to avoid this - it doubled the value.
It is required to understand the reason of bad_alloc and fix the issue appropriately.
- relates to
-
UGENE-1649 Genome Aligner refactoring
- Closed