Skip to content

Commit 2ab6b9c

Browse files
committed
[api] Use set_max_old_generation_size_in_bytes, instead of deprecated set_max_old_space_size
1 parent df3c431 commit 2ab6b9c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/blog/heap-size-limit.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
title: 'One small step for Chrome, one giant heap for V8'
3-
author: 'guardians of the heap Ulan Degenbaev, Hannes Payer, Michael Lippautz, and DevTools warrior Alexey Kozyatinskiy'
3+
author: 'guardians of the heap Ulan Degenbaev, Hannes Payer, Michael Lippautz, anlex N and DevTools warrior Alexey Kozyatinskiy'
44
avatars:
55
- 'ulan-degenbaev'
66
- 'michael-lippautz'
77
- 'hannes-payer'
8+
- 'anlex-n'
89
date: 2017-02-09 13:33:37
910
tags:
1011
- memory
@@ -20,4 +21,4 @@ We also added a feature in DevTools to pause the application when it is close to
2021

2122
![](/_img/heap-size-limit/debugger.png)
2223

23-
V8 embedders can increase the heap limit using the [`set_max_old_space_size`](https://codesearch.chromium.org/chromium/src/v8/include/v8.h?q=set_max_old_space_size) function of the `ResourceConstraints` API. But watch out, some phases in the garbage collector have a linear dependency on the heap size. Garbage collection pauses may increase with larger heaps.
24+
V8 embedders can increase the heap limit using the [`set_max_old_generation_size_in_bytes`](https://codesearch.chromium.org/chromium/src/v8/include/v8-isolate.h?q=set_max_old_generation_size_in_bytes) function of the `ResourceConstraints` API. But watch out, some phases in the garbage collector have a linear dependency on the heap size. Garbage collection pauses may increase with larger heaps.

0 commit comments

Comments
 (0)