DX NetOps

 View Only
Expand all | Collapse all

Can I run the Spectrum Garbage Collector from CLI?

  • 1.  Can I run the Spectrum Garbage Collector from CLI?

    Posted Aug 02, 2016 03:51 PM

    Is it possible to run the Spectrum Garbage Collector from a script?



  • 2.  Re: Can I run the Spectrum Garbage Collector from CLI?
    Best Answer

    Posted Aug 02, 2016 05:30 PM

    Hi John

     

    There's no supported command.  However, you might be able to use the $SPECROOT/Java/bin/jcmd:

    jcmd <process-id> GC.run

     

    I have not tested this.

     

    Scott