You can run an RV generator all night but it depends on the manufacturer of the generator. Some heavy-duty machines can handle a long journey. If you put a heavy load on your generator, then the fuel could run out soon. You can't use solar panels at night to recharge your generator.