I'm getting the following error when running a build in ant
buildcallbacks.xml:39: org.sonar.runner.RunnerException: java.lang.OutOfMemoryError: PermGen space
It's the part of the build where sonar runs over our code.
Is there a way for me to know exactly where this error is coming from i.e is it the sonar server or the client etc ?
Here is line 39 of my buildcallbanks.xml
<sonar:sonar />
EDIT: I've tried increasing the permsize from the wrapper.conf within Sonar and I still get the same issue no matter how high I set it. I must still be missing something?