Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(586)

Unified Diff: pkg/analysis_server/lib/src/analysis_server.dart

Issue 2487313002: Evict using size in bytes in MemoryCachingByteStore. (Closed)
Patch Set: Restore LinkedHashMap. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/analysis/byte_store.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/analysis_server.dart
diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart
index 25063a07580eb1158703c3808cdf559c6a2c7b78..4a1cb93bbe862c625c074a049ac90794ce9b6cbe 100644
--- a/pkg/analysis_server/lib/src/analysis_server.dart
+++ b/pkg/analysis_server/lib/src/analysis_server.dart
@@ -369,8 +369,9 @@ class AnalysisServer {
byteStore = new MemoryCachingByteStore(
new FileByteStore(
resourceProvider.getStateLocation('.analysis-driver')),
- 1024);
- analysisDriverScheduler = new nd.AnalysisDriverScheduler(_analysisPerformanceLogger);
+ 64 * 1024 * 1024);
+ analysisDriverScheduler =
+ new nd.AnalysisDriverScheduler(_analysisPerformanceLogger);
analysisDriverScheduler.start();
if (useSingleContextManager) {
contextManager = new SingleContextManager(resourceProvider, sdkManager,
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/analysis/byte_store.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698