I tend to not like leaving stuff on for too long because it burns up my laptop, and I usually close things when I'm not using them to stay light on RAM.
My max is probably around 6 hours, maybe up to 8 or something, but it would probably be because I forgot I left osu! open.