I played for 6 hours straight on my 3GB ram tablet, and never encountered any crash.
I could try going for 9 hours straight (next weekend tho, i don't have that kind of time rn) but i don't see the point, i don't think it will crash.
3GB seems to be the bare minimum to run this game.