diff --git a/project/pom.xml b/project/pom.xml
index 808cf963cb..87b3db4084 100644
--- a/project/pom.xml
+++ b/project/pom.xml
@@ -326,7 +326,7 @@
test
- -Xmx512m -Xms256m -Xss256k
+ -Xmx512m -Xms256m -Djava.awt.headless=true -XX:MaxPermSize=256m -Xss256k
tests
5