Hi Ajinkya, The command 'jcmd <pid> GC.run' can be used to trigger fullgc for JVM process. However, it should be noted that this may have a performance impact on the ongoing computation.
Best, Shammon FY On Mon, May 15, 2023 at 10:51 AM Ajinkya Pathrudkar < ajinkya.pathrudka...@gmail.com> wrote: > Hi Shammon, > > When you say FullGC means are you referring to call system.gc()? And one > more thing I am struggling to find is how I can call fullGC for JobManger > and TaskManager? > > Thanks, > Ajinkya > > On Sun, May 14, 2023 at 10:40 PM Ajinkya Pathrudkar < > ajinkya.pathrudka...@gmail.com> wrote: > >> Ok, I will check. >> >> On Sun, May 14, 2023 at 9:39 PM Shammon FY <zjur...@gmail.com> wrote: >> >>> Hi Ajinkya, >>> >>> The memory of metaspace may need to be released through FullGC, you can >>> try to trigger fullgc manually in JobManager and TaskManager, and check >>> whether the metaspace is released. >>> >>> Best, >>> Shammon FY >>> >>> On Sat, May 13, 2023 at 4:01 PM Jiadong lu <archzi...@gmail.com> wrote: >>> >>>> Hi, Ajinkya >>>> >>>> Maybe some threads in your job were not shut down when the job was >>>> closed? >>>> >>>> Best, >>>> Jiadong Lu >>>> >>>> On 2023/5/13 4:58, Ajinkya Pathrudkar wrote: >>>> > Hello, >>>> > >>>> > I am observing JVM Metaspace memory for Task Managers and Job Manager >>>> is >>>> > not getting released. Any thoughts? >>>> > >>>> > image.png >>>> > >>>> > >>>> > Thanks, >>>> > Ajinkya >>>> >>> -- >> Thanks & Regards, >> Ajinkya Pathrudkar >> > -- > Thanks & Regards, > Ajinkya Pathrudkar >