Skip to content

Dbcp2 Statement Failure

Brett Wooldridge edited this page Jan 29, 2017 · 2 revisions

JMH 1.17.2 (released 55 days ago)

VM version: JDK 1.8.0_111, VM 25.111-b14

VM invoker: /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/bin/java

VM options: -server -XX:-RestrictContended -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Xms1096m -Xmx1096m

Warmup: 3 iterations, 1 s each

Measurement: 8 iterations, 1 s each

Timeout: 10 min per iteration

Threads: 20 threads, will synchronize iterations

Benchmark mode: Throughput, ops/time

Benchmark: com.zaxxer.hikari.benchmark.StatementBench.cycleStatement

Parameters: (jdbcUrl = jdbc:stub, maxPoolSize = 20, pool = dbcp2)

Run progress: 0.00% complete, ETA 00:00:22

Fork: 1 of 2

Warmup Iteration 1: Using driver (jdbc:stub): com.zaxxer.hikari.benchmark.stubs.StubDriver@23335845# Overriding maxPoolSize paramter for StatementBench: maxPoolSize=20

1163.231 ops/ms

Warmup Iteration 2: 463.398 ops/ms

Warmup Iteration 3: 338.628 ops/ms

Iteration 1: 265.494 ops/ms Iteration 2:

java.lang.OutOfMemoryError: GC overhead limit exceeded at org.apache.commons.dbcp2.AbandonedTrace.(AbandonedTrace.java:41) at org.apache.commons.dbcp2.DelegatingStatement.(DelegatingStatement.java:61) at org.apache.commons.dbcp2.DelegatingConnection.createStatement(DelegatingConnection.java:262) at com.zaxxer.hikari.benchmark.StatementBench.cycleStatement(StatementBench.java:55) at com.zaxxer.hikari.benchmark.generated.StatementBench_cycleStatement_jmhTest.cycleStatement_Throughput(StatementBench_cycleStatement_jmhTest.java:89) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:453) at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:437) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

Clone this wiki locally