why after a few hot deploys i get OutOfMemory Exception (i've allready
increased xmx and xms)
Probably a memory leak then. A number of pieces of code in Sun's JRE can
leak class loaders (and hence all the classes and other data associated
with them). ThreadLocal is the common one. But java.beans and JDBC also
do it.
You can use a memory profiler to tell where the problem is. Googling can
give you more details.
It may be the permanent generation (code and interned strings) that is
running out. IIRC, -XX:MaxPermSize is the Sun option to increase that.
Tom Hawtin