merlimat commented on a change in pull request #12547:
URL: https://github.com/apache/pulsar/pull/12547#discussion_r739667649



##########
File path: 
tests/integration/src/test/java/org/apache/pulsar/tests/integration/containers/ElasticSearchContainer.java
##########
@@ -23,24 +23,24 @@
 import java.util.Optional;
 
 public class ElasticSearchContainer extends 
ChaosContainer<ElasticSearchContainer> {
-    
+
     public static final String NAME = "ElasticSearch";
     static final Integer[] PORTS = { 9200, 9300 };
 
     public static final String IMAGE_NAME = 
Optional.ofNullable(System.getenv("ELASTICSEARCH_IMAGE"))
             .orElse("docker.elastic.co/elasticsearch/elasticsearch:7.15.0");
 
     public ElasticSearchContainer(String clusterName) {
-        super(clusterName, IMAGE_NAME);       
+        super(clusterName, IMAGE_NAME);
     }
-    
+
     @Override
     protected void configure() {
         super.configure();
         this.withNetworkAliases(NAME)
             .withExposedPorts(PORTS)
             .withEnv("discovery.type", "single-node")
-            .withEnv("ES_JAVA_OPTS", "-Xms2g -Xmx2g")
+            .withEnv("ES_JAVA_OPTS", "-Xms512m -Xmx1500m")

Review comment:
       Probably we should also remove the min heap size:
   
   ```suggestion
               .withEnv("ES_JAVA_OPTS", " -Xmx1500m")
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to