jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60731] New: OOM on BackendListener with TIME box mode
Date Tue, 14 Feb 2017 10:44:44 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60731

            Bug ID: 60731
           Summary: OOM on BackendListener with TIME box mode
           Product: JMeter
           Version: Nightly (Please specify date)
          Hardware: PC
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: maxime.chassagneux@gmail.com
  Target Milestone: ---

The BackendListener stock all datas in a DescriptiveStatistics metrics
(okResponsesStats, koResponsesStats, allResponsesStats ). 
With the TIME box mode (i.e backend_metrics_window_mode=timed ), these datas
are reset on each interval of time ( default 5 sec for influxdb )
But when the load is heavy, we could stock a lot of datas during this interval
of time which can lead to a OutOfMemoryError.

Example : 
2017/02/13 19:36:11 ERROR - jmeter.JMeter: Uncaught exception: 
java.lang.OutOfMemoryError: Java heap space
        at
org.apache.commons.math3.util.ResizableDoubleArray.expand(ResizableDoubleArray.java:697)
        at
org.apache.commons.math3.util.ResizableDoubleArray.addElement(ResizableDoubleArray.java:442)
        at
org.apache.commons.math3.stat.descriptive.DescriptiveStatistics.addValue(DescriptiveStatistics.java:171)
        at
org.apache.jmeter.visualizers.backend.SamplerMetric.add(SamplerMetric.java:99)
        at
org.apache.jmeter.visualizers.backend.influxdb.InfluxdbBackendListenerClient.handleSampleResults(InfluxdbBackendListenerClient.java:258)
        at
org.apache.jmeter.visualizers.backend.BackendListener.sendToListener(BackendListener.java:270)
        at
org.apache.jmeter.visualizers.backend.BackendListener$Worker.run(BackendListener.java:242)

2017/02/14 01:05:20 ERROR -
jmeter.visualizers.backend.influxdb.HttpMetricsSender: failed to send data to
influxDB server : null 

To counter this, even in time box mode, we have to put a default sliding size.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message