If you run Jython at the prompt with the --print option (using jython.py
or jython.exe, or probably the shell script) it shows you the java
command it would have used. Defaults -Xmx512m -Xss2560k shown are
sufficient to run the regression tests, but of course there are no
universally best values. I imagine the optimum under the IDE will be
different from at the command line.
Jeff Allen
On 01/04/2018 18:56, Patrick Palczewski wrote:
>
> Jeff/Jim,
>
> I am in the process of documenting how to set up intelliJ to work with
> Jython dev. The IDE has a default list of options for the VM in its
> config file. Here are list of options:
>
> _________________
>
> -Xms128m
> -Xmx750m
> -XX:ReservedCodeCacheSize=240m
> -XX:+UseConcMarkSweepGC
> -XX:SoftRefLRUPolicyMSPerMB=50
> -ea
> -Dsun.io.useCanonCaches=false
> -Djava.net.preferIPv4Stack=true
> -XX:+HeapDumpOnOutOfMemoryError
> -XX:-OmitStackTraceInFastThrow
> -Dawt.useSystemAAFontSettings=lcd
> -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine
> ____________
>
>
> Are there any VM settings I can add/change? I'm using IntelliJ 2018.1
> right now.
>
> --
> /Patrick Palczewski/ *VRS# 818.208.2344*
>
|