8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07d779e commit 232cdabCopy full SHA for 232cdab
arangosh/V8Client/arangosh.cpp
@@ -2423,9 +2423,11 @@ int main (int argc, char* args[]) {
2423
2424
isolate->LowMemoryNotification();
2425
2426
- // todo 1000 was the old V8-default, is this really good?
2427
- while (! isolate->IdleNotification(1000)) {
2428
- }
+ // spend at least 3 seconds in GC
+ LOG_DEBUG("entering final garbage collection");
+ TRI_RunGarbageCollectionV8(isolate, 3000);
2429
+ LOG_DEBUG("final garbage collection completed");
2430
+
2431
localContext->Exit();
2432
context.Reset();
2433
}
0 commit comments