1. Sonar succeeds for one project at a time runs.
2. I have a big source code base divided into sub projects and hence configured an ant task to run sonar analysis for every sub project through a build server.
3. The memory on /tmp folder keeps going high and eventually runs out of space, causing the build to fail.
Additional Notes: Following is the state of temp directory when it is about to crash due to "Out of space error"
[machine tmp]$ /usr/sbin/lsof |grep /tmp/sonar|wc -l
[machine tmp]$ find sonar-batch284149543705107600625648239897612202/ |wc -l
This indicates that probably a "file.delete" is being called on the temporary files and hence they are not visible in /tmp directory. But a "file.close" has not yet been called on the stream and hence the file descriptor is still open with the OS.