Skip to content

Commit 5bd3748

Browse files
committed
allow env variable
1 parent a927c5a commit 5bd3748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fsharp/vs/service.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ module EnvMisc =
6262

6363
let projectCacheSizeDefault = GetEnvInteger "mFSharp_ProjectCacheSizeDefault" 3
6464
let frameworkTcImportsCacheStrongSize = GetEnvInteger "mFSharp_frameworkTcImportsCacheStrongSizeDefault" 8
65-
let maxMBDefault = 1000000 // a million MB = 1TB = disabled
65+
let maxMBDefault = GetEnvInteger "mFSharp_maxMB" 1000000 // a million MB = 1TB = disabled
6666
//let maxMBDefault = GetEnvInteger "mFSharp_maxMB" (if sizeof<int> = 4 then 1700 else 3400)
6767

6868
//----------------------------------------------------------------------------

0 commit comments

Comments
 (0)