diff --git a/server/channels/app/platform/cluster_handlers.go b/server/channels/app/platform/cluster_handlers.go index f92aec3a0c..a45809085b 100644 --- a/server/channels/app/platform/cluster_handlers.go +++ b/server/channels/app/platform/cluster_handlers.go @@ -7,7 +7,6 @@ import ( "bytes" "encoding/json" "fmt" - "runtime/debug" "github.com/mattermost/mattermost/server/public/model" "github.com/mattermost/mattermost/server/public/shared/mlog" @@ -159,7 +158,6 @@ func (ps *PlatformService) InvalidateAllCachesSkipSend() { } func (ps *PlatformService) InvalidateAllCaches() *model.AppError { - debug.FreeOSMemory() ps.InvalidateAllCachesSkipSend() if ps.clusterIFace != nil {