Browse Source

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

Caleb James DeLisle 10 năm trước cách đây
mục cha
commit
f814b3a1f2
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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);