diff --git a/.idea/runConfigurations/IDEA.xml b/.idea/runConfigurations/IDEA.xml
index 858c940236e9..c034fdf799aa 100644
--- a/.idea/runConfigurations/IDEA.xml
+++ b/.idea/runConfigurations/IDEA.xml
@@ -7,7 +7,7 @@
-
+
diff --git a/.idea/runConfigurations/IDEA_with_Android.xml b/.idea/runConfigurations/IDEA_with_Android.xml
index ca01eb177193..57643fa48f13 100644
--- a/.idea/runConfigurations/IDEA_with_Android.xml
+++ b/.idea/runConfigurations/IDEA_with_Android.xml
@@ -7,7 +7,7 @@
-
+
diff --git a/.idea/runConfigurations/IDEA_with_Python_plugin.xml b/.idea/runConfigurations/IDEA_with_Python_plugin.xml
index a555c106aa73..f96e61bf04cd 100644
--- a/.idea/runConfigurations/IDEA_with_Python_plugin.xml
+++ b/.idea/runConfigurations/IDEA_with_Python_plugin.xml
@@ -7,7 +7,7 @@
-
+
diff --git a/.idea/runConfigurations/PyCharm.xml b/.idea/runConfigurations/PyCharm.xml
index 5bce14a19ca1..885be918631d 100644
--- a/.idea/runConfigurations/PyCharm.xml
+++ b/.idea/runConfigurations/PyCharm.xml
@@ -6,7 +6,7 @@
-
+
diff --git a/build/launch/src/com/intellij/tools/launch/Launcher.kt b/build/launch/src/com/intellij/tools/launch/Launcher.kt
index 5562674bb763..2149e8305aa7 100644
--- a/build/launch/src/com/intellij/tools/launch/Launcher.kt
+++ b/build/launch/src/com/intellij/tools/launch/Launcher.kt
@@ -53,7 +53,7 @@ object Launcher {
"-Dsun.io.useCanonCaches=false",
"-Dteamcity.build.tempDir=${paths.tempFolder.canonicalPath}",
"-Xmx${options.xmx}m",
- "-XX:+UseConcMarkSweepGC",
+ "-XX:+UseG1GC",
"-XX:-OmitStackTraceInFastThrow",
"-XX:CICompilerCount=2",
"-XX:HeapDumpPath=${paths.tempFolder.canonicalPath}",
diff --git a/platform/build-scripts/groovy/org/jetbrains/intellij/build/impl/VmOptionsGenerator.groovy b/platform/build-scripts/groovy/org/jetbrains/intellij/build/impl/VmOptionsGenerator.groovy
index 080fb30f2c19..1fe6f8b3e785 100644
--- a/platform/build-scripts/groovy/org/jetbrains/intellij/build/impl/VmOptionsGenerator.groovy
+++ b/platform/build-scripts/groovy/org/jetbrains/intellij/build/impl/VmOptionsGenerator.groovy
@@ -9,7 +9,7 @@ import org.jetbrains.intellij.build.ProductProperties
class VmOptionsGenerator {
static final List COMMON_VM_OPTIONS =
[
- '-XX:+UseConcMarkSweepGC',
+ '-XX:+UseG1GC',
'-XX:SoftRefLRUPolicyMSPerMB=50',
'-XX:CICompilerCount=2',
'-XX:+HeapDumpOnOutOfMemoryError',