updated for version 7.3.1278
Problem:    When someone sets the screen size to a huge value with "stty" Vim
            runs out of memory before reducing the size.
Solution:   Limit Rows and Columns in more places.
diff --git a/src/gui.c b/src/gui.c
index 06a99e6..b667ba3 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -1620,6 +1620,7 @@
 	    un_maximize = FALSE;
 #endif
     }
+    limit_screen_size();
     gui.num_cols = Columns;
     gui.num_rows = Rows;