ksahlin / strobealign

Aligns short reads using dynamic seed size with strobemers
MIT License
128 stars 16 forks source link

Running error with strobealign v0.7.1 #322

Closed psj1997 closed 1 year ago

psj1997 commented 1 year ago

Hi,

I have tried to run strobealign with different versions in a benchmarking.

V0.8.0 and V0.9.0 works fine for me.

But V0.7.1 leads to an error:
terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc

I have tried installing from source and using the compiled file.

Hope for your suggestions.

Sincerely Shaojun

marcelm commented 1 year ago

std::bad_alloc is typically thrown when there is not enough RAM. Could that be it? There was some memory reduction in v0.8.0 compared to v0.7.1, see https://github.com/ksahlin/strobealign/pull/191#issuecomment-1379504994 for a table that shows how memory usage changed.

psj1997 commented 1 year ago

OK. Thanks! It is a memory issue.