Diffusion through thin layers with high specific heat