Kafka Consumer throwing "OutOfMemoryError: Java heap space" Error on SSL

'What Is JVM Stack?' tutorial was cited in a stackoverflow.com post in 2021.

The What Is JVM Stack? tutorial was cited in a stackoverflow.com post in 2021.

Subject: Kafka Consumer throwing "OutOfMemoryError: Java heap space" Error on SSL
Date: 2021-11-01
Author: AbuBakar Khan
Source: https://stackoverflow.com/questions/69803652
  /kafka-consumer-throwing-outofmemoryerror-java-heap-space-error-on-ssl

I'm using Spring-Kafka 2.7.1 in a spring boot project.

When I connect it to a SSL-configured Kafka Broker it gives a "OutofMemory"
Error as below even though I have increased Heap Size multiple times to no
avail.

Log Below :
java.lang.OutOfMemoryError: Java heap space\
...

oracle.com/java/technologies/hotspotfaq.html 
oracle.com/java/technologies/javase/vmoptions-jsp.html 
docs.oracle.com/cd/E40972_01/doc.70/e40973/… 
oracle.com/technical-resources/articles/java/g1gc.html 
oracle.com/technetwork/tutorials/tutorials-1876574.html 
youtube.com/watch?v=IsIb3BZfIAE 
herongyang.com/JVM/Stack-Overflow-What-Is-JVM-Stack.html

Table of Contents

 About This Book

Reference Citations in 2021

 Opción JVM -Xss: ¿Qué hace exactamente?

 如何在windows下安装"The Eric Python IDE"

 Button with hexagon shape not recognizing mouse click

 PHP的des加密+ECB方式+PKCS5 补齐

 javax.net.ssl.trustStore Option Behaviour

 JVM Run-Time Data Area

 关于Web服务:如何在Java中将Cookie手动添加到Web服务调用中

 java net Chapter 3 Net Working

 Encryptions in IRIS

 NOTES ON CYBER LAW - Digital Signature and Electronic Signature

 javap -s 查看java方法签名

 Transport level information does not match

 Deep analysis of GC logs - covering CMS, parallel GC, G1, ZGC, openj9

 简体中文Unicode表

 How do I insert a blob in SQL

 Hyperbolische Geometrie und Physik - Der Minkowski-Raum

 Java casting resulting in run-time error instead of compilation error

Kafka Consumer throwing "OutOfMemoryError: Java heap space" Error on SSL

 Character encoding for French Accents

 Bitcoin Core wallet spends BTC 0.07!! USD 4000!! to make two small dust sendings

 PHP on the fly flush xml to zipfile and push download

 java - 访问被拒绝(“java.net.SockerPermission”“irc.esper.net”“解决”)

 Reference Citations in 2020

 Reference Citations in 2019

 Reference Citations in 2018

 Reference Citations in 2017

 Reference Citations in 2016

 Reference Citations in 2015

 Reference Citations in 2014

 Reference Citations in 2013

 Reference Citations in 2012

 Reference Citations in 2011

 Reference Citations in 2010

 Reference Citations in 2009

 Reference Citations in 2008

 Reference Citations in 2007

 Reference Citations in 2006

 Reference Citations in 2005

 Reference Citations in 2004

 Reference Citations in 2003