We use Jenkins as our CI solution for a large Java web application. We have 
many junit tests.On the "old" server where we have Jenkins running, we have 
no problems. Everything runs smoothly. We recently set up Jenkins on the 
"new server" running Windows 8 that we are eventually going to use. On the 
new server, we are running into issues when Jenkins runs the unit tests. I 
should also mention that both servers access the same code base on our 
Subversion server. The problem is the tests run very slowly and we 
eventually get out of memory exceptions with respect to PermGen space (on 
the tests that are associated with Hibernate). I think I solved that issue 
by adding -XX:MaxPermSize=1024m -XX:+CMSPermGenSweepingEnabled to the Java 
Options on the project where the issues lie. But  the tests still run 
incredibly slowly. And now we end up running out of heap space. Both of our 
Jenkins deployments are running inside Tomcat. Also, we didn't need to add 
any Java Options on the "old" server with respect to PermGen or heap space. 
So to recap, for the same code base, Jenkins runs smoothly on one server, 
but on another server is running out of PermGen and then regular heap 
space, and also running very slowly.







 



-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to