# Training RAM memory issues

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftraining-ram-memory-issues%2F29300%3E%5C
**Category:** Beginners\
**Created:** [January 10, 2023, 1:16pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftraining-ram-memory-issues%2F29300 "2023-01-10T13:16:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kamil](https://avatars.discourse-cdn.com/v4/letter/k/94ad74/32.png) [@kamil](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fkamil)%5C
**Post date:** [January 10, 2023, 1:16pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftraining-ram-memory-issues%2F29300%2F1 "2023-01-10T13:16:03Z")

</div>

Hey!

I’m trying to finetune the W2v2 model on my own dataset (100K audio) merged with the French Common Voice dataset (total of 89Go) but the preprocess is killed after 44%. I tried to remove the lengthiest audio and it works (\<=3s) but what I am not understanding is that I have 128G of RAM it should be enough no?

Can I load data on the fly while batches loading? instead of loading all the dataset before launching the training phase?

Thank’s for your reply
