I am getting out of memory errors when checking out my projects code from perforce:
Could not get project sources: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
I have increased the JVM in the Agent process to 512MB, any suggestions as to why it needs to be so large?
Also is it possible to stop it deleting all the code and re-checking it out again. I've seen mentions of "checkout sources automatically" and 'clean all files before build'. Where are these options and how do I set them?