So I have some audio data I’m trying to process which is split into multiple files. Some of these files are small and do not give any problems. But others are larger and when I tried to upload files of 128 mb, the uploader crashes with a JS heap out of memory. So I split the files in two, and now the uploading works (slowly, but that could be expected).
Next, I try to generate the features, but this fails with the following error:
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
WARN: failed to process 4515/training/59-Noise-3-b.wav.1e6q6qsb.ingestion-d6bc5ff48-kms5l.json: Worker terminated due to reaching memory limit: JS heap out of memory
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
[ 40/240] Creating windows from files...
WARN: failed to process 4515/training/59-Noise-b.wav.1e6q6i5u.ingestion-d6bc5ff48-5nn7n.json: Worker terminated due to reaching memory limit: JS heap out of memory
This pattern repeats about eight times (I have eight of these ~64mb files in the training set and similar for the test set) until it detects I’m out of computing time.
So my question is: is there any limit on the file size? If so, what is that limit? It would be nice if this was enforced by the code/user interface somehow so no time is wasted on crashing processes. If not, what is going on?