I do not leave a space at all, i reckon it is a source of potential derailments. I butt them up tight and solder them. Expansion will be covered in your ballasting but if you are at all worried you can buy expansion rail joiners from Richard Hillman. I have a couple in place they really don't do much as there is no need to but they are beautifully made and very practical as is all of their stuff.
Rgds Ian
The gaps aren't large--perhaps 1/8" or so. Enough to let the rail expand and contract, but not enough to cause any derailments. The caveat is that dirt and rocks will eventually work their way into the joint, eventually filling the gap keeping the rail from expanding. The remedy is to occasionally slide the offending rail joint back on the rail to clean it. This needn't be done often--perhaps once every few years as you notice problems.
Later,
K
Get the Garden Railways newsletter delivered to your inbox twice a month