DX NetOps

Expand all | Collapse all

Can I run the Spectrum Garbage Collector from CLI?

Jump to Best Answer
  • 1.  Can I run the Spectrum Garbage Collector from CLI?

    Posted 08-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 08-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