bad performance with intelliji on Virtual machine
Answered
dear all
Hi
i have a problem with performance of intelliji :
i have a pc with 8GB memory and with core i5 and ssd disk that installed on intellij idea on my pc it work perfect with no problem
but i have create a vm on HPDL 380G8 server with 8G memory and 10vcpu and sas disks but performance of intelliji on virtual machine is bad and when using intelliji on vm it will be slow
now i am confused what is my problem how can solve this issue ? intelliji has problem with xeon cpu ?
BR
Please sign in to leave a comment.
Yes, you have to capture the snapshot for the actions that are slower than expected in IDEA. Does the scrolling work really slow for you? Is it much slower in VM than on the host system? Is there anything else that is slow besides the scrolling?
yes that is realy slow also yes that is slower in vm than on the host when this is slow other things such as typing will be slow
i have attached other cpu capture when typed command in intelliji and it was slow i think this cpu capture is better but please see both of them
IU-171.2272.14_m.pirhadi_07.02.2017_00.02.33.zip (6 mb) 100%
dear friend Hi i am waiting
Please keep patience, it can take 5-7 days.
The highlighting performance should be improved in the next 2017.1 EAP (likely to be released today), compared to your last snapshot. Could you please try it, and provide a new snapshot, if you still experience bad performance?
1- did you see my snapshots?
2 - is your means that have to use new version f intelliji for solve the problem ?
3 - please send me download link that version you said
BR
1 - Yes
2 - No. I suggested checking the new build because you've already attached snapshots from 2017.1,
3 - https://www.jetbrains.com/idea/nextversion/
Could you please also check if setting "File | Settings | Editor | Language Injections | Advanced | Performance" to "Do not analyze anything" improves the performance for you?
dear friemd
i did this :
File | Settings | Editor | Language Injections | Advanced | Performance" to "Do not analyze anything"
it seems a few better but have to work more now if help me with that cpu snapshots think will be more usefull
BR
which OS is more compatible with intelliji windows7 or windows 8.1 ?
BR
It shouldn't matter
dear friend
i am waiting for your help about log file (cpu snapshot)
Based on the CPU snapshot, I recommended to tweak injection settings. Has it solved the issue for you?
i did this :
File | Settings | Editor | Language Injections | Advanced | Performance" to "Do not analyze anything"
but still is slow
Could you please provide a new CPU snapshot, with "do not analyze anything" setting?
is the latest version ideaIU-171.3019.7 ?
https://www.jetbrains.com/idea/nextversion/
2017.1 EAP 171.3224.1
Dear friend
Hi
now i am using this version ideaIU-171.3019.7 and today another i appear with slow speed when using in intelliji and i take 3 cpu snapshot when it was so slow can you help me now what is the problem
these are my snapshots
Thanks! It seems that now memory usage is a problem. Could you please also upload a memory snapshot?
take memory snapshot now or even it was slow ?
You can wait until it becomes slow again and take both CPU and memory snapshots.
Dear friends
Hi
i have attached new snapshot today my speed in intellijidea was so slowly please see attached log
BR
Dear friend
i am waiting
Judging by the snapshot, language injection performance options are not set to "Do not analyze anything". Is this correct, has the setting changed since you've disabled that?
It looks like highlighting some specific Java files in your project is causing particular slowness. You're likely to have viewed it in Diff from Commit dialog, for about a minute before you've started CPU profiling. I don't know which file it is, but maybe you can guess it? Is it a large file? Does it contain many language injections? Does it contain methods with common names (like getName, getSize, add)?
i have asked these questions from developer team:
Is it a large file you are working on that ?
Does it contain many language injections ?
Does it contain methods with common names (like getName, getSize, add)?
the answers are :
1- No.Of course whole the project is about 60MB.biggest file is about 900 KB
2- Not many.just two English and Persian
3- yes
"Language injection" is about programming languages, not natural ones :) Do the files being edited contain many string literals or comment where some other languages (like SQL) are injected?
Please ensure language injection performance options are set to "Do not analyze anything".
please see attach pic i select do not analyze anything(fast) but after a few minutes i see this menue and it is selected analyze refrences
why ?
just select do not analyze performance and select ok do i have to do other thing for save ?
Do you mean that the setting changes by itself? Do you restart the IDE in the middle?
yes setting change itself.
no i did not restart that is that necessary restart ?
Restart is not necessary. In fact, I can reproduce the setting being not persisted between restarts. I've filed https://youtrack.jetbrains.com/issue/IDEA-169641 for that.