  In this paper we study the Random energy model - so called toy model of the
spin glass theory - where the underlying distributions are compactly supported.
We prove a general theorem on the asymptotics of free energy and obtain
formulae in several interesting cases - like uniform distribution, truncated
double exponential.
