You could run it with limited RAM, just not many Lean processes in parallel. Just need some disk space for the compiled files.