I have some very large xml files providing the test data for DBUnit to insert prior to unit test execution...Unfortunately I am getting outOfMemoryExceptions every time I execute the test. I am getting a NullPointerException in my test method cause by the OutOfMemoryException .... I have configured the sure-fire maven plugin with an arg-line parameter setting the heap space to 1024mb but this has not helped...What else can I do?
Are you sure you need all that data? Can you post the relevant code snippet from your tests where the exception happens? That might help give folks some ideas. Hard to tell if there's nothing to look at.