diff --git a/Packages/vChewing_MainAssembly/Sources/MainAssembly/AppDelegate.swift b/Packages/vChewing_MainAssembly/Sources/MainAssembly/AppDelegate.swift index 3f68e265..f351776a 100644 --- a/Packages/vChewing_MainAssembly/Sources/MainAssembly/AppDelegate.swift +++ b/Packages/vChewing_MainAssembly/Sources/MainAssembly/AppDelegate.swift @@ -147,7 +147,7 @@ public extension AppDelegate { guard let currentMemorySizeInBytes = NSApplication.memoryFootprint else { return 0 } let currentMemorySize: Double = (Double(currentMemorySizeInBytes) / 1024 / 1024).rounded(toPlaces: 1) switch currentMemorySize { - case 384...: + case 1024...: vCLog("WARNING: EXCESSIVE MEMORY FOOTPRINT (\(currentMemorySize)MB).") let msgPackage = UNMutableNotificationContent() msgPackage.title = NSLocalizedString("vChewing", comment: "")