Hello,
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.
Environment:
Used maven-command: mvn -Dorg.jboss.errai.bus.do_long_poll=false clean test -Pintegration-test
Computer: Intel Core i5-2520M @ 2.50GHz
8.00GB Ram
Windows7 x64
I struggeled around and noticed the following line in the integration-test profile:
<argLine>-Xmx2048m ${argLine}</argLine>
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?
Regards,
Sven
Hi Sven,
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.
Thanks,
Christian