The heat transfer equation for electron beam window foil was solved taking into account the effect of heat exchange on the gas bourdary layer under the approximate bourdary condition at room temperature. Based on the solutions, the limitations to output beam intensity imposed by the window foil due to the heat effect were discussed respectively for pulsed or CW output of electron beams.