JVM space exhausted when building a project through gradle : <p>Receiving error message when building a project through gradle</p>

<blockquote>
  <p>Expiring Daemon because JVM Tenured space is exhausted</p>
</blockquote>
