Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5411

Use a common file stored in a known directory for VM options

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Launcher
    • None
    • Undefined

      Currently the launcher API uses hard-coded modular VM options. We could use a properties file to set VM options. An example file might look something like:

      vm.options=-Xms512m
      vm.options.modular=--add.modles=java.se --add-opens=java.base/java.security=ALL-UNNAMED
      vm.options.17=--add-opens=java.naming/javax.naming=ALL-UNNAMED
      vm.options.windows=-Xmx=1024m
      

      Bonus points if we can figure out a way to do this for scripts too. One idea for this would be to generate files, maybe in the common.conf, with something like JBang during the build.

            jperkins-rhn James Perkins
            jperkins-rhn James Perkins
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: