فهرست منبع

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

Caleb James DeLisle 10 سال پیش
والد
کامیت
f814b3a1f2
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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);