Created
March 8, 2017 18:44
-
-
Save philippeback/39c63bb5aa26b79098511cdfea4fea7e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FreeTypeCache cleanUp. | |
Clipboard startUp: true. | |
RubEditingState allInstances do: [ :each | each instVarNamed: #undoManager put:nil]. | |
GTPlayBook reset. | |
EditorFindReplaceDialogWindow cleanUp. | |
ActiveHand resetClickState; releaseAllFocus. | |
UITheme current focusIndicator: nil. | |
40 timesRepeat: [ | |
1 second wait. | |
World doOneCycle. | |
]. |
Thanks for it. It didn't shrink my image significantly but made the UI snappier.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This gist is a live safer!!! After trying to figure out memory leaks in my code w/o any success this gist brought down my image from 1.5G to comfortable 200M!