Explorar el Código

Up the memory limit for the client process because Configurator and AdminClient outrun the freeing of their allocators.

Caleb James DeLisle hace 10 años
padre
commit
f814b3a1f2
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      admin/angel/cjdroute2.c

+ 2 - 2
admin/angel/cjdroute2.c

@@ -455,8 +455,8 @@ int main(int argc, char** argv)
     Assert_ifParanoid(argc > 0);
     struct Except* eh = NULL;
 
-    // Allow it to allocate 4MB
-    struct Allocator* allocator = MallocAllocator_new(1<<22);
+    // Allow it to allocate 8MB
+    struct Allocator* allocator = MallocAllocator_new(1<<23);
     struct Random* rand = Random_new(allocator, NULL, eh);
     struct EventBase* eventBase = EventBase_new(allocator);