Hi Yaroslav,

Thank you for your mail.

I have tried by removing ojdbc 8 jar from application and keeping it in
flink lib folder but that doesn’t help.

I debugged code and got the root cause that whenever I am making connection
with database at that time metaspcae increases by 10mb.

On Fri, 23 Aug 2024 at 11:58 PM, Yaroslav Tkachenko <yaros...@goldsky.com>
wrote:

> Hi Ganesh,
>
> Have you tried following this suggestion?
> https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/debugging/debugging_classloading/#avoiding-dynamic-classloading-for-user-code
>
>
> On Fri, Aug 23, 2024 at 10:39 AM Ganesh Walse <ganesh.wa...@gmail.com>
> wrote:
>
>> Hi All,
>>
>> I am using apache flink for the bounded data where I need to execute 100
>> of jobs daily.
>>
>> In every job submission my job manager jvm metaspace is increasing by
>> 10Mb and it is not getting cleared anytime so I am getting JVM OOM error
>> after certain number of job submissions.
>>
>> I searched over the internet but I did not get any solution on this and
>> also many people are getting same error.
>>
>>
>> Can you please help on this as this is getting critical for me day by day.
>>
>>
>> Thanks,
>>
>> Ganesh Walse.
>>
>>
>>

Reply via email to