raise datasize rlimit to max

Index: app/main.c
--- app/main.c.orig
+++ app/main.c
@@ -17,6 +17,7 @@
 
 #include "config.h"
 
+#include <sys/resource.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -623,6 +624,7 @@ main (int    argc,
 #endif
   gint            retval;
   gint            i;
+  struct          rlimit limit;
 #if defined(ENABLE_RELOCATABLE_RESOURCES) && defined(__APPLE__)
   gint            newargc;
 #endif
@@ -635,6 +637,11 @@ main (int    argc,
 #if defined(GIMP_UNSTABLE) || !defined(GIMP_RELEASE)
   gimp_attach_console_window ();
 #endif
+
+  if (getrlimit (RLIMIT_DATA, &limit) != -1) {
+    limit.rlim_cur = limit.rlim_max;
+    (void)setrlimit (RLIMIT_DATA, &limit);
+  }
 
 #if defined(__APPLE__)
 #if defined(ENABLE_RELOCATABLE_RESOURCES)
