Do the data-load pipeline have the memory limit? I have not test it, Thank you!

Is the data-load method load ALL the data to the memory, and then train?

Or the data-load method load some batches of data and train, then load more data?