Browse Source

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

Caleb James DeLisle 10 years ago
parent
commit
f814b3a1f2
1 changed files with 2 additions and 2 deletions
  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);