v8Flags.setMaxHeapSize() is this for java heap memory or native memory? #429
Unanswered
RakeshRaparthi
asked this question in
Q&A
Replies: 2 comments 3 replies
-
|
Please refer to the official doc , or leverage Node.js help for the answer. node --v8-options | grep 'max-heap'
--max-heap-size (max size of the heap (in Mbytes) both max_semi_space_size and max_old_space_size take precedence. All three flags cannot be specified at the same time.)
type: size_t default: --max-heap-size=0If you still face issues, could you leave a repo with the issues? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I could n't find your doc which says using native memory or heap memory. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using javet lib in java application, I just want o know v8Flags.setMaxHeapSize() is for heap memory or native memory? little bit confusing...
i believe this memory is sharedMemory for all engines. could anyone please clarify?
i have seen crash for big js payload like 30 mb having setMaxHeapSize as 4gb. what are recommend options.?
Beta Was this translation helpful? Give feedback.
All reactions