reactiverse / es4x

🚀 fast JavaScript 4 Eclipse Vert.x
https://reactiverse.io/es4x/
Apache License 2.0
882 stars 75 forks source link

Anyway to start vertx using -Xmx to limit ram allocating #480

Closed xinxilas closed 3 years ago

xinxilas commented 3 years ago

Hello friend,

Is there anyway to configure ES4x to start vertx using -Xmx on my Graalvm to limit ram allocating ?

I pretend to run es4x tests on aws ec2 t2.micro

pmlopes commented 3 years ago

@xinxilas Have you tried to set the variable JAVA_OPTS?

If you use the launcher scripts they should take that environment variable in consideration I think.

If not, let me know how you're running the application!