Folks are probably tired of hearing me say this, but I'm going to repeat myself nonetheless:
The U.S. Coast Guard and ABYC recommend strongly against using portable gasoline generators aboard recreational vessels. Carbon monoxide poisoning is the greatest threat, as is risk of fire.
Please don't anchor ANYWHERE near other boats if you plan to use one of these on deck. Nothing ruins a peaceful anchorage quite like an air-cooled portable genset.