Re: Janusgraph 0.5.3 potential memory leak


Boxuan Li
 

Can someone share how you run the benchmark (like what JMH version and what janusgraph version you are using) provided by @mad? I ran the benchmark on master (f19df6) but I see OOM errors for both iterator and iterable versions. Furthermore, I don't see any OOM report on the final result (JMH simply omits those runs with exceptions in the final report).

My environment:

# JMH version: 1.29
# VM version: JDK 1.8.0_275, OpenJDK 64-Bit Server VM, 25.275-b01
# VM invoker: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/bin/java
# VM options: -Dvisualvm.id=32547661350356 -Dfile.encoding=UTF-8 -Xmx1G

My dependencies:

<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>1.29</version>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>1.29</version>
<scope>provided</scope>
</dependency>

My benchmark results:


 

Benchmark                               (size)  (valueSize)   Mode  Cnt     Score      Error  Units

StaticArrayEntryListBenchmark.iterable   10000           50  thrpt    5  3653.903 ± 1485.691  ops/s

StaticArrayEntryListBenchmark.iterable   10000         1000  thrpt    5   356.528 ±  100.197  ops/s

StaticArrayEntryListBenchmark.iterable   10000         5000  thrpt    5    90.776 ±   47.783  ops/s

StaticArrayEntryListBenchmark.iterable  100000           50  thrpt    5   202.407 ±   22.577  ops/s

StaticArrayEntryListBenchmark.iterable  100000         1000  thrpt    5    38.114 ±    1.196  ops/s

StaticArrayEntryListBenchmark.iterator   10000           50  thrpt    5  2079.672 ±  312.171  ops/s

StaticArrayEntryListBenchmark.iterator   10000         1000  thrpt    5   170.326 ±   33.554  ops/s

StaticArrayEntryListBenchmark.iterator   10000         5000  thrpt    5    31.522 ±    2.774  ops/s

StaticArrayEntryListBenchmark.iterator  100000           50  thrpt    5   159.831 ±   44.197  ops/s

StaticArrayEntryListBenchmark.iterator  100000         1000  thrpt    5    18.367 ±    4.123  ops/s

Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.