# how to increase Java heap size for Gatling

**URL:** <https://community.gatling.io/t/how-to-increase-java-heap-size-for-gatling/4049>\
**Category:** Gatling (Open-Source)\
**Created:** [November 17, 2017, 7:15am UTC](https://community.gatling.io/t/how-to-increase-java-heap-size-for-gatling/4049 "2017-11-17T07:15:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prashant\_Kajale](https://avatars.discourse-cdn.com/v4/letter/p/b3f665/32.png) [@Prashant\_Kajale](https://community.gatling.io/u/Prashant_Kajale)\
**Post date:** [November 17, 2017, 7:15am UTC](https://community.gatling.io/t/how-to-increase-java-heap-size-for-gatling/4049/1 "2017-11-17T07:15:09Z")

</div>

how to increase Java heap size for Gatling

gatling is running out of memory with large response.

The response size is around 100 MB

Gatling request never completes.  
It creates a java\_pid1871.hprof file with heap dump
