diff --git a/NineChronicles.DataProvider.Executable/Commands/ItemEnhancementMigration.cs b/NineChronicles.DataProvider.Executable/Commands/ItemEnhancementMigration.cs
index 4082877f..b87e75cb 100644
--- a/NineChronicles.DataProvider.Executable/Commands/ItemEnhancementMigration.cs
+++ b/NineChronicles.DataProvider.Executable/Commands/ItemEnhancementMigration.cs
@@ -292,6 +292,8 @@ public void Migration(
offsetIdx += interval;
_mySqlStore.StoreItemEnhancementList(_itemEnhancementList);
_itemEnhancementList.Clear();
+ GC.Collect();
+ GC.WaitForPendingFinalizers();
}
else
{
diff --git a/NineChronicles.DataProvider.Executable/NineChronicles.DataProvider.Executable.csproj b/NineChronicles.DataProvider.Executable/NineChronicles.DataProvider.Executable.csproj
index 963337c7..f8ff859d 100644
--- a/NineChronicles.DataProvider.Executable/NineChronicles.DataProvider.Executable.csproj
+++ b/NineChronicles.DataProvider.Executable/NineChronicles.DataProvider.Executable.csproj
@@ -4,7 +4,7 @@
net6
true
true
- $(NoWarn),1573,1591,1712,MEN002,MEN003,MEN005,S1450,SA1009,SA1101,SA1111,SA1116,S1134,SA1200,SA1309,SA1413,SA1600,SA1601,SA1633,EF1001,S1075
+ $(NoWarn),1573,1591,1712,MEN002,MEN003,MEN005,S1450,SA1009,SA1101,SA1111,SA1116,S1134,SA1200,SA1309,SA1413,SA1600,SA1601,SA1633,EF1001,S1075,S1215