# \[Gatling 3.0.0 RC4\] memory leak?

**URL:** <https://community.gatling.io/t/gatling-3-0-0-rc4-memory-leak/4568>\
**Category:** Gatling (Open-Source)\
**Created:** [October 11, 2018, 4:01pm UTC](https://community.gatling.io/t/gatling-3-0-0-rc4-memory-leak/4568 "2018-10-11T16:01:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jan\_Verner](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@Jan\_Verner](https://community.gatling.io/u/Jan_Verner)\
**Post date:** [October 11, 2018, 4:01pm UTC](https://community.gatling.io/t/gatling-3-0-0-rc4-memory-leak/4568/1 "2018-10-11T16:01:23Z")

</div>

Hi,  
I have upgraded to Gatling 3.0.0 RC4 today and executed one of my scenarios. I have executed this scenario many times in Gatling 2.3.1 without any problem. In Gatling 3.0.0 RC4 I ended up with OOM after approx. 25 minutes.

java.lang.OutOfMemoryError: Java heap space  
Dumping heap to java\_pid24502.hprof …  
Heap dump file created [1302179725 bytes in 11.259 secs]

Load setting - nothing fancy …

setUp(scn.inject(**rampUsersPerSec(1) to 5 during (30 minutes)**))  
.protocols(httpProtocol)  
.uniformPauses(50) // percent

Take a look at heap dump - looks like none of the sessions are being garbage collected …

 ![dump.png](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/1X/465888aaa145a4c092e9db92b363a6a82423927d.png)

The scenario is pretty standard, the only extras I can think of are in configuration: output to Graphite is ON and logging of failed responses is ON. Also, I use 2 feeders (CSV and custom Range).

Happy to provide more details, just tell me what you need.

Cheers  
Jan

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [October 11, 2018, 4:32pm UTC](https://community.gatling.io/t/gatling-3-0-0-rc4-memory-leak/4568/2 "2018-10-11T16:32:24Z")

</div>

Could you please share your heap dump?

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [October 12, 2018, 12:49pm UTC](https://community.gatling.io/t/gatling-3-0-0-rc4-memory-leak/4568/3 "2018-10-12T12:49:34Z")

</div>

Gentle ping

---

<div class="post-metadata">

**Author:** ![Jan\_Verner](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@Jan\_Verner](https://community.gatling.io/u/Jan_Verner)\
**Post date:** [October 13, 2018, 2:55pm UTC](https://community.gatling.io/t/gatling-3-0-0-rc4-memory-leak/4568/4 "2018-10-13T14:55:22Z")

</div>

I will send a download link on your email. Do not want to make it public.

Dne pátek 12. října 2018 14:50:05 UTC+2 Stéphane Landelle napsal(a):

---

<div class="post-metadata">

**Author:** ![Raisa.M\_Lipatova](https://avatars.discourse-cdn.com/v4/letter/r/c37758/32.png) [@Raisa.M\_Lipatova](https://community.gatling.io/u/Raisa.M_Lipatova)\
**Post date:** [July 10, 2020, 7:00am UTC](https://community.gatling.io/t/gatling-3-0-0-rc4-memory-leak/4568/5 "2020-07-10T07:00:49Z")

</div>

Hi. Have you resolved this issue? What was the resolution?
