I´m creating a plugin here and to execute it correctly, we need to set the original parameter -Xmx512m to -Xmx1536m (1,5GB).
Is there any way of doing this programmatically, when I´m installing the plugin? Or any other way?
Thanks a lot
I´m creating a plugin here and to execute it correctly, we need to set the original parameter -Xmx512m to -Xmx1536m (1,5GB).
Is there any way of doing this programmatically, when I´m installing the plugin? Or any other way?
Thanks a lot
You can use a p2 touchpoint to add/modify JVM arguments to the host Eclipse installation. It's not terribly difficult but neither is it trivial. Start with this documentation (too detailed to summarize here). This other SO question and answer also has an example, but with less explanation.
Basically, you'll need to include an appropriately configured p2.inf
file in your installable feature.