]> source.dussan.org Git - sonarqube.git/commit
SONAR-7125 use nio to clean temp directory at startup
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Thu, 11 Feb 2016 09:14:31 +0000 (10:14 +0100)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Fri, 12 Feb 2016 12:48:36 +0000 (13:48 +0100)
commit0008f4ed732f47528bddc1392f2afd74a978cd25
tree4480f8218665986da0bc85f143f0196bbc7851c2
parent54cdd41e77bf99b81134435499219eaef4862525
SONAR-7125 use nio to clean temp directory at startup

we used to use Commons IO which loads all files in memory, causing OOM in the App process because it is configured with only 16Mb of heap
sonar-application/src/main/java/org/sonar/application/AppFileSystem.java