diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-07-11 10:08:37 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-07-11 15:07:33 +0200 |
commit | 724cf4fa763199ea4a0c04d9596cdbc73070b554 (patch) | |
tree | 4ec7fe3a2d98d52de64c8b45cd3a7a7b3bdb0033 | |
parent | 1959ef682ef0eabe44c40940e304ba52e8a6b5f9 (diff) | |
download | sonarqube-724cf4fa763199ea4a0c04d9596cdbc73070b554.tar.gz sonarqube-724cf4fa763199ea4a0c04d9596cdbc73070b554.zip |
SONAR-9216 Memory hotspot when indexing components at server startup
-rw-r--r-- | server/sonar-db-dao/src/main/resources/org/sonar/db/component/ComponentMapper.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-db-dao/src/main/resources/org/sonar/db/component/ComponentMapper.xml b/server/sonar-db-dao/src/main/resources/org/sonar/db/component/ComponentMapper.xml index 2138cca83cd..eb361e3a45d 100644 --- a/server/sonar-db-dao/src/main/resources/org/sonar/db/component/ComponentMapper.xml +++ b/server/sonar-db-dao/src/main/resources/org/sonar/db/component/ComponentMapper.xml @@ -417,7 +417,7 @@ </if> </sql> - <select id="selectForIndexing" parameterType="map" resultType="Component"> + <select id="selectForIndexing" parameterType="map" resultType="Component" fetchSize="${_scrollFetchSize}" resultSetType="FORWARD_ONLY"> select <include refid="componentColumns"/> from projects p |