Forgot to mention, Hibernate Search and a Lucene index is also part of the mix.
Seam itself has around 120 integration tests - but split between many classes so embedded starts many times.
I've been getting OutOfMemory errors in production. It started after upgrading to seam 2 and jboss 4.2. It happens somewhat randomly. I use @Async as well, although no hibernate or db at all.
Do you see any other error before the out of memory errors?
Ok the tag below of course solves it ... or maybe just postpones it (I haven't investigated whether there is a real memory leak in our tests or our application or in seam):
<testng ... <jvmarg value="-Xmx256m"/> </testng>