CLion 2017.3.1 ranges ts performance

 

Just FYI, 

There is quite the delay for some reason when using the ranges ts code in the IDE. Not a problem, just a minor annoyance.

--Matt.

 

 

0

Hi, Matt.

Sorry for the inconvenience! Could you please try enabling memory indicator (`Preferences | Appearance & Behavior | Appearance | Show memory indicator`) and keep an eye on it for some time? If it is close to the limit at the time when you are experiencing the problems, then try increasing the Xmx JVM option according to this guide. Does that help?

0

Thanks Anna. Appreciate the thought, but no banana.

Before: 

Still delays using ranges::view::blah

After:

Delays still kick in.

4C/8T Intel laptop with 64GB RAM & SSD.

Adjusted VM options FWIW:

 

# custom CLion VM options

-Xss2m
-Xms1000m
-Xmx8000m
-XX:NewSize=128m
-XX:MaxNewSize=128m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-XX:MaxJavaStackTraceDepth=-1
-Dawt.useSystemAAFontSettings=lcd
-Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine


 

0

请先登录再写评论。