i ran into a Problem when i tried to do testing of the errai-bus maven archetype für learning purposes. It always failed with the following error:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Used maven-command: mvn -Dorg.jboss.errai.bus.do_long_poll=false clean test -Pintegration-test
Computer: Intel Core i5-2520M @ 2.50GHz
I struggeled around and noticed the following line in the integration-test profile:
After removing that line, the test ran surprisingly easily and fast. So, my question here now is:
What is the intention to create such a large JVM for the test? Should i create a JIRA issue for this stuff?
There's no reason for the -Xmx config in the archetypes, afaik. We will remove it in the next release. Yes, feel free to create JIRA's if you come accross problems.