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

0
72 comments

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?

0
Avatar
Permanently deleted user

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

 

 

0
Avatar
Permanently deleted user

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%

0
Avatar
Permanently deleted user

dear friend Hi i am waiting

0

Please keep patience, it can take 5-7 days.

0

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?

0
Avatar
Permanently deleted user

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

0

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?

0
Avatar
Permanently deleted user

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

0
Avatar
Permanently deleted user

which OS is more compatible with intelliji windows7 or windows 8.1 ?

BR

0

It shouldn't matter

0
Avatar
Permanently deleted user

dear friend

i am waiting for your help about log file (cpu snapshot)

0

Based on the CPU snapshot, I recommended to tweak injection settings. Has it solved the issue for you?

0
Avatar
Permanently deleted user

i did this :

File | Settings | Editor | Language Injections | Advanced | Performance" to "Do not analyze anything"

but still is slow

0

Could you please provide a new CPU snapshot, with "do not analyze anything" setting?

0
Avatar
Permanently deleted user

is the latest version ideaIU-171.3019.7 ?

0
Avatar
Permanently deleted user

 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

 

IU-171.3019.7_m.pirhadi_20.02.2017_15.38.52.zip (6.4 mb) 100%
IU-171.3019.7_m.pirhadi_20.02.2017_15.41.34.zip (6.9 mb) 100%
IU-171.3019.7_m.pirhadi_20.02.2017_18.40.05.zip (6 mb) 100%
 
BR
0

Thanks! It seems that now memory usage is a problem. Could you please also upload a memory snapshot?

0
Avatar
Permanently deleted user

take memory snapshot now or even it was slow ?

0

You can wait until it becomes slow again and take both CPU and memory snapshots.

0
Avatar
Permanently deleted user

Dear friends

Hi

 

i have attached new snapshot today my speed in intellijidea was so slowly please see attached log

 

IU-171.3780.15_m.pirhadi_11.03.2017_12.20.44.zip (4.4 mb) 100%
 

BR

0
Avatar
Permanently deleted user

Dear friend

i am waiting

0

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)?

0
Avatar
Permanently deleted user

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

 

 

0

"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".

0
Avatar
Permanently deleted user

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 ?

0

Do you mean that the setting changes by itself? Do you restart the IDE in the middle?

0
Avatar
Permanently deleted user

yes setting change itself.

no i did not restart that is that necessary restart ?

0

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.

0

Please sign in to leave a comment.