Sam Cao

Results 319 comments of Sam Cao

Could you be more specific? What it does? How long it takes to get the OOM?

The icu file is critical. Which one are you using? If V8 gets a wrong icu file, OOM will occur.

Did you follow the doc? Please show me your code.

You could call terminateExecution to prevent JVM crash.

Please post the whole code. It could be a misuse of the API.

Sorry, I haven't had time evaluating your code.

The error is from V8. Basically, [Array.prototype.push()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/push) accepts multiple arguments and there is no limit to the number of arguments. In reality, V8 has a limit. In your case, 500,000...

Thank you for reporting the issue. The info you provided is not enough for troubleshooting. Could you share a reproducible repo + CentOS 7 runtime env (maybe a docker image)?

Have you set `export JAVET_DISABLE_PKU=1`? Please refer to https://www.caoccao.com/Javet/faq/troubleshooting/sigsegv_at_createv8runtime_in_v8_mode_on_aws.html for detail.