A fast, reliable and cross-platform command-line Minecraft launcher and API for developers. Including fast and easy installation of common mod loaders such as Fabric, Forge, NeoForge and Quilt.
Would it be possible to use env.jvm_args with custom JVM args such as -Xmx3Gwithout needing to set a JVM executable path in the first argument? I need to change ram allocation, but would rather avoid writing unnecessary JVM handling code when portablemc already has it.
The JVM exec path is always the first in jvm_args, so you just have to ignore it and modify subsequent arguments. What is your code leading to the creation of env?
Would it be possible to use
env.jvm_args
with custom JVM args such as-Xmx3G
without needing to set a JVM executable path in the first argument? I need to change ram allocation, but would rather avoid writing unnecessary JVM handling code when portablemc already has it.