Fatal process out of memory on try use V8JS in php script with LSServer

Centros 7,
Cpanel + WHM 102.0.17 ,
LiteSpeed Web Server Enterprise 6.0.12,

On try enter php page with v8js, LS server return 503 error.

/var/log/apache2/stderr.log show this error:
# Fatal error in , line 0
# Fatal process out of memory: Failed to reserve memory for new V8 Isolate

By LS docs abot 503 error, we try add memory limit for PHP (memory_limit up to 512M) and LS (
Memory Soft Limit up to 8192M
Memory Hard Limit: 8192M

Directly PHP CLI with V8JS works fine:
ea-php80 -f t.php ```(new V8Js())->executeString('print("Hello JS world")');```
will print:
Hello JS world
Resolved by Memory Soft Limit up to 50G and Memory Hard Limit to 50G.

It just allows the memory allocation, but does not allocate that much in actual. Its basically telling Litespeed to use as much memory as needed for that PHP code to compile. So limit size can be more of real size RAM.