diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-11-15 09:33:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-15 10:33:03 +0100 |
commit | c9baf3849fdbe161a9251a712a71e2b91eeabf3e (patch) | |
tree | 61d082720160d928e303b4e1ae4816d3f228894a /runtime/lib.rs | |
parent | dcc75d5685ddb1ad3c1b97721cbc24bf6fa56c76 (diff) |
perf: use available system memory for v8 isolate memory limit (#26868)
Instead of using the default 1.4Gb limit (which was meant for browser
tabs) configure V8 to
set the heap limit to the amount of memory available in the system.
Closes https://github.com/denoland/deno/issues/23424
Closes https://github.com/denoland/deno/issues/26435
Closes https://github.com/denoland/deno/issues/21226
Diffstat (limited to 'runtime/lib.rs')
-rw-r--r-- | runtime/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lib.rs b/runtime/lib.rs index 8a228c5b5..a6e60ced1 100644 --- a/runtime/lib.rs +++ b/runtime/lib.rs @@ -35,6 +35,7 @@ pub mod js; pub mod ops; pub mod permissions; pub mod snapshot; +pub mod sys_info; pub mod tokio_util; pub mod web_worker; pub mod worker; |