Skip to content

Commit 4743a73

Browse files
committed
Suggestion to set -F1.25
The -F RTS param is used to indicate the next old generation heap size after a collect. By default the parameter is 2. This means, when your heap is 2 GB after old generation collect, heap will be sized to 4 GB next time. This might be excessive for small memory devices. -F1.25 means the next heap will scale to 125% of the old generation live memory.
1 parent 81fdcfd commit 4743a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/main/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,4 @@ export const MOCK_TOKEN_METADATA_SERVER_URL = 'http://localhost';
178178
export const MOCK_TOKEN_METADATA_SERVER_PORT =
179179
process.env.MOCK_TOKEN_METADATA_SERVER_PORT || 0;
180180

181-
export const RTS_FLAGS = ['-c'];
181+
export const RTS_FLAGS = ['-c', '-F1.25'];

0 commit comments

Comments
 (0)