GithubHelp home page GithubHelp logo

jetbrains-ide-performance's People

Contributors

floer32 avatar scriptedalchemy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

jetbrains-ide-performance's Issues

supported mac os versions

I see Sierra as latest compatible version. Any idea whether this would work on Catalina (10.15.7)?

Feedback from JetBrains

Several comments on the idea.properties и vmoptions:
editor.zero.latency.typing=true doesn't have any positive influence
idea.max.intellisense.filesize increases the size of the files where the inspections run, so potentially it may decrease performance
idea.cycle.buffer.size increases the size of the console being saved, potentially it may decrease performance
Too big memory size indicated in vmoptions may be not suitable for everyone.
Also, there are many options that are enabled by default, for example:
-XX:+OptimizeStringConcat
-XX:+DoEscapeAnalysis
-XX:+TraceClassUnloading
or those options that aren't included in Java 8, for example:
-XX:+UseSplitVerifier
-XX:+UseStringCache
-Dide.no.platform.update=true - if a user doesn't use ToolBox, he/she won't get updates with this option.
-XX:+AggressiveOpts, -XX:+OptimizeStringConcat- may positively influence the performance

phpstorm 2019.2 - vmoptions

Hey,

I just upgraded to 2019.2 and a lot of vmoptions are not working anymore. These prevented me to launch phpstorm.

I removed all these problematic options, now the list looks like that:

-Xms1024m
-Xmx2048m
-Xss64m
-XX:ReservedCodeCacheSize=512m
-XX:+UseCompressedOops
-XX:NewRatio=2
-Dfile.encoding=UTF-8
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=250
-XX:NewSize=512m
-XX:MaxNewSize=512m
-XX:PermSize=512m
-XX:MaxPermSize=1024m
-XX:ParallelGCThreads=4
-XX:MaxTenuringThreshold=1
-XX:SurvivorRatio=8
-XX:+UseCodeCacheFlushing
-XX:+AggressiveOpts
-XX:+CMSClassUnloadingEnabled
-XX:+CMSParallelRemarkEnabled
-XX:CMSInitiatingOccupancyFraction=65
-XX:+CMSScavengeBeforeRemark
-XX:+UseCMSInitiatingOccupancyOnly
-Xlog:class+unload=off
-XX:+AlwaysPreTouch
-XX:+TieredCompilation
-XX:+DoEscapeAnalysis
-XX:+UnlockExperimentalVMOptions
-XX:LargePageSizeInBytes=256m
-XX:+DisableExplicitGC
-XX:+ExplicitGCInvokesConcurrent
-XX:+PrintGCDetails
-XX:+PrintFlagsFinal
-XX:+HeapDumpOnOutOfMemoryError
-XX:+UseAdaptiveGCBoundary
-XX:CompileThreshold=10000
-XX:+OptimizeStringConcat
-XX:+UnlockDiagnosticVMOptions
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:-OmitStackTraceInFastThrow
-Xverify:none
-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log
-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof
-Dide.no.platform.update=true

no custom stuff from me, just the list from this repository.
If you want, update the file in this repo.

Some outdated VM options ?

WebStorm 2021.2.1

Removed unrecognized options one by one until I could get a successful boot

OpenJDK 64-Bit Server VM warning: Ignoring option PermSize; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
Unrecognized VM option 'UseParNewGC'

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
OpenJDK 64-Bit Server VM warning: Option AggressiveOpts was deprecated in version 11.0 and will likely be removed in a future release.
Unrecognized VM option 'CMSIncrementalMode'
Unrecognized VM option 'CMSIncrementalPacing'

[0.005s][warning][arguments] -XX:-TraceClassUnloading is deprecated. Will use -Xlog:class+unload=off instead.
Unrecognized VM option 'CMSPermGenSweepingEnabled'
Unrecognized VM option 'UseSplitVerifier'
Unrecognized VM option 'UseCompressedStrings'
Unrecognized VM option 'UseStringCache'
Unrecognized VM option 'UseFastAccessorMethods'
[0.006s][warning][gc       ] -XX:+PrintGCDetails is deprecated. Will use -Xlog:gc* instead.

Cannot create mount the RAM disk

Hello When i run the code, I get the following error

{code}
$ /usr/local/bin/startupRAMDiskandCacheMover.sh
++ sysctl hw.memsize
++ awk '{print $2;}'

  • ramfs_size_mb=17179869184
  • ramfs_size_mb=4096
  • mount_point=/Users/Noushad.Ali/ramdisk
  • ramfs_size_sectors=8388608
    ++ hdid -nomount ram://8388608
    ++ xargs
  • ramdisk_device=/dev/disk3
  • USERRAMDISK=/Users/Noushad.Ali/ramdisk
  • MSG_MOVE_CACHE='. Do you want me to move its cache? Note: It will close the app.'
  • MSG_PROMPT_FOUND='I found '
  • main
  • check_requirements
  • hash rsync
  • hash newfs_hfs
  • mk_ram_disk
  • umount -f /Users/Noushad.Ali/ramdisk
    umount: /Users/Noushad.Ali/ramdisk: not currently mounted
  • newfs_hfs -v ramdisk /dev/disk3
    Initialized /dev/rdisk3 as a 4 GB case-insensitive HFS Plus volume
  • mkdir -p /Users/Noushad.Ali/ramdisk
  • mount -o noatime -t hfs /dev/disk3 /Users/Noushad.Ali/ramdisk
    mount_hfs: error on mount(): error = -1. <--- Error here
    mount_hfs: Unknown error: -16 <--- Error here
  • echo 'created RAM disk.'
    created RAM disk.
  • hide_ramdisk
  • /usr/bin/chflags hidden /Users/Noushad.Ali/ramdisk
  • echo 'RAM disk hidden'
    RAM disk hidden
  • move_ideace_cache
  • '[' -d '/Applications/IntelliJ IDEA CE.app' ']'
  • user_response 'I found ' 'IntelliJ IDEA CE. Do you want me to move its cache? Note: It will close the app.'
  • echo -ne 'I found ' 'IntelliJ IDEA CE. Do you want me to move its cache? Note: It will close the app.' '[Y/n] '
    I found IntelliJ IDEA CE. Do you want me to move its cache? Note: It will close the app. [Y/n] + read -r response
    y
  • case ${response} in
  • true
  • close_app 'IntelliJ Idea CE'
  • osascript -e 'quit app "IntelliJ Idea CE"'
  • cp -f '/Applications/IntelliJ IDEA CE.app/Contents/bin/idea.properties' '/Applications/IntelliJ IDEA CE.app/Contents/bin/idea.properties.back'
  • echo idea.system.path=/Users/Noushad.Ali/ramdisk/Idea
  • echo idea.log.path=/Users/Noushad.Ali/ramdisk/Idea/logs
  • echo 'Moved IntelliJ cache.'
    Moved IntelliJ cache.
  • create intermediate folder for intellij projects output
    /usr/local/bin/startupRAMDiskandCacheMover.sh: line 366: create: command not found
  • create_intermediate_folder_for_intellij_projects
  • '[' -d /Volumes/ramdisk/Noushad.Ali/compileroutput ']'
  • mkdir -p /Volumes/ramdisk/Noushad.Ali/compileroutput
    mkdir: /Volumes/ramdisk/Noushad.Ali/compileroutput: Permission denied
  • echo 'echo use "/Users/Noushad.Ali/ramdisk/compileroutput" for intelliJ project output directory.'
    echo use "/Users/Noushad.Ali/ramdisk/compileroutput" for intelliJ project output directory.
  • echo 'All good - I have done my job. Your apps should fly.'
    All good - I have done my job. Your apps should fly. {code}

Does not work for PyCharm on Linux

I get this output:

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
OpenJDK 64-Bit Server VM warning: Ignoring option PermSize; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
Unrecognized VM option 'UseParNewGC'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.