readbeyond / aeneas

aeneas is a Python/C library and a set of tools to automagically synchronize audio and text (aka forced alignment)
http://www.readbeyond.it/aeneas/
GNU Affero General Public License v3.0
2.49k stars 228 forks source link

MemoryError on 32-bit systems #172

Open readbeyond opened 7 years ago

readbeyond commented 7 years ago

Due to the 2GB contiguous block allocation limitation of 32 bit systems, this line:

https://github.com/readbeyond/aeneas/blob/master/aeneas/audiofile.py#L447

might throw a MemoryError, causing an "unexpected exception".

We should:

  1. catch it and log a meaningful error
  2. document this limitation somewhere
pettarin commented 7 years ago

See #180 as well.