OutOfEastGate
OutOfEastGate
Can Node_LLAGS take effect in V8 mode? It doesn't take effect after I set it this way ```java NodeFlags nodeFlags = NodeRuntimeOptions.NODE_FLAGS; nodeFlags.setCustomFlags(new String[]{"--max-old-space-size=2", "--max-new-space-size=1"}); ```
It is indeed unrealistic, but I want to know if this configuration can take effect and what the performance will be like when the memory exceeds the set value
I have tried setting it to a different value, but this restriction does not take effect. If some large data operations are performed, it will still cause OOM
I set V8Flag to the following parameters ```java V8Flags v8Flags = NodeRuntimeOptions.V8_FLAGS; v8Flags.setMaxHeapSize(4); v8Flags.setMaxOldSpaceSize(4); ``` Then execute the following JS code ```javascript let a = [... new Array (100 *...