Jump to content

Ways to add additional Java args?


Cypher121

Recommended Posts

I've recently switched to Technic Platform and can't seem to find any ways to add Java args to my client without modifying modpack. What I want to do is set min and max heap size to 4 GB (config in launcher only changes maximal, not what I want). Just two simple args: -Xms4G and -Xmx4G. If I just add them to version.json, it will get overwritten by launcher on modpack verification. What should I do?

Link to comment
Share on other sites

  • Discord Moderator

Changing the config settings value in the launcher defines the -Xmx parameter. Why would you care about -Xms as it really doesn't matter? You really don't want to go hard-coding system Java parameters. Just use the Launcher settings.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...