It is often the case when the time vs memory trade-off is underestimated prior to using ML/DL for solving a particular task. Taking into account the type, size and format of the available data and also the available CPUs, GPUs and RAM as well, I wonder is there a general way to estimate prior to modelling:
1) How much computational time will be needed?
2) What will be the maximum amount of memory needed?
I assume a correct estimation of the aforementioned issues will be quite useful prior to modelling, taking into account also the time complexity of the algorithms to use as well.