QutEcoacoustics / audio-analysis

The audio analysis code (AnalysisPrograms.exe) for the QUT Ecoacoustics Research Group
https://ap.qut.ecoacoustics.info/
Apache License 2.0
52 stars 12 forks source link

Error - System.OutOfMemoryException: Array dimensions exceeded supported range. #249

Open ThomasLuypaert opened 5 years ago

ThomasLuypaert commented 5 years ago

Describe the bug

When using ConcatenateIndexFiles with NoGaps rendering mode to create FCS for 672 1-min files representing 1 week of recording, with a framelength of 16,384 and acoustic indices calculated over 15 seconds, I get the following error:

System.OutOfMemoryException: Array dimensions exceeded supported range. (see screenshot)

Expected behavior

A FCS for the duration of one week. False Color Spectrograms were successfully derived using the same data with a lower framelength (2048, 4096 and 8192).

Diagnostics

Screenshots

image

Additional Details

Add any other context about the problem here.

atruskie commented 5 years ago

Thanks for the report (and for the attention to detail πŸ˜„). We've never processed data this large, in that particular dimension, before.

We have an internal re-design scheduled for the concatenate function (see #168) which should allow it to scale much better. Fixing this bug will be part of that.

In the meantime, I suggest running the concatenate in two parts. It is suboptimal, but it will work for now. The images can be placed next to each other for correct alignment. If you overlap the analysis a small bit temporally, then you paste the second image under the right edge of the first to hide the second y-axis produced.