3 Replies Latest reply on May 17, 2013 5:01 AM by Bartosz Majsak

    OutOfMemoryError in Arquillian with JBoss 7.1

    mk_2013 Newbie



      I have some test classes that run with JUnit and Arquillian in standalone JBoss 7.1 as remote. Each class create deployment and contains some test cases.


      After running all tests I received OutOfMemoryError. I looked at heap dump in Exclipse Memory analizer and found that it contains org.jboss.arquillian.testenricher.cdi.container.CDIExtension objects for each of my test classes. It seems like test deployment was not undeploy from JBoss.


      I don't know how to find the cause of the problem and fix it. Coulld someone advise me? Thanks.