How to increase heap size for local debugging running with build-tools

I am trying to debug an ES plugin with build-tools and running into an out of heap error. I'm starting my debug with ./gradlew run? Is there a way to to configure this per project?

Is this the right source for the run task?
org.elasticsearch.gradle.testclusters.ElasticsearchNode#startElasticsearchProcess

The heap size is fixed to half a Gb. It would be nice to to make that configurable.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.