As it's seen in this snippet for Spark 3.1.2 is only running for 3+ hours and enough Memory is available but still it's using Disk Space Spark 3.1.2 UI Image
And this image shows for Spark 3.0.2 for Spark Streaming Job running for more than 90 hours no Disk Space is used Spark 3.0.2 UI Image
In both code is same it's just Spark version that's got updated. I have also noticed that Spark 3.1.2 is using more Memory than Spark 3.0.2. Is there anything changed in GC Collection as well? Any help on this is highly appreciated.