From 20ed11f9a56783bd88e169b8aa7a55cdc71fbc28 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 10 Mar 2017 11:35:54 -0500 Subject: [PATCH] We must GC here otherwise we risk not freeing our v8 contexts --- lib/tasks/assets.rake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake index 8c299d0cf6d..2f2a46b409b 100644 --- a/lib/tasks/assets.rake +++ b/lib/tasks/assets.rake @@ -98,6 +98,8 @@ def compress_ruby(from,to) File.write(dest, uglified << "\n//# sourceMappingURL=#{cdn_path "/assets/#{to}.map"}") File.write(dest + ".map", map) + + GC.start end def gzip(path)