Distributed JMeter in Kubernetes increase heap size
According to the Define an environment variable for a container chapter it should be as simple as changing this section from the jmeter-server-deployment.yaml as follows:
spec: containers: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} args: ["server"] ports: - containerPort: 50000 - containerPort: 1099 env: - name: HEAP value: "-Xms1G -Xmx2G"
this will increase the JVM heap size twice.
More information: 9 Easy Solutions for a JMeter Load Test “Out of Memory” Failure