optimization tips?
os:kubuntu 10.04
PhpStorm 2.0Beta
PS-102.114
I have PhpStorm running on my laptop. The server is on its own machine and the browsers are run on a different pc too. So PhpStorm is the only program that is activly being used on the computer.
The laptop running it is a thinkpad x61 with 2.5gig of memory. (2x intel core 2Duo T7300 2.0GHz)
It has a new SSD hard drive in it.
Java is sun java 1.6
What I want is to eliminate as much wait time as possible.
I thought the sdd would speed things up, and it has, but there are still wait points. Like when PhpStorm is indexing the project.
One noticable one that is re-producable is
* right click on a file in the projects pane.
* when the menu appears, move the mouse from the top of the list to the bottom, The orange 'selected' indicator will scroll down the list and will always stop and wait on the 'Local History' option before continuing to the bottom.
* move the mouse back to the top again and the orange 'currently selected' will stop and pause on "Synchronize 'filename.php' ".
Does anyone have any tips to give PhpStorm access to all the resources it needs. I dont care if its greedy. Better greedy and fast because there is nothing else in use.
I've tried changin the settings in webide.vmoptions but none seam to make a positive improvement.
Ideas?
请先登录再写评论。
Well, general adices are here
http://devnet.jetbrains.net/docs/DOC-192
Thanks Alexey,
I did like the docs said and made some changes to the webide.vmoptions file.
I'll see if this makes a difference.
Well, I'm the one who deduced, tested and provied you the default settings and, I personnaly is against any tweaks.
You're kind of loosing warranty here - even most java developers are not qualified to actually *improve* anyting with tweaking JVM options.
And do I see several typical errors with your changes.
yeah, they dont seam to make a difference, judging just from today.
I got all those addatives from the file you pointed me toward. Cant say I understand what they are supposed to do, but the instructions fit my machine.
so you reckon change them back to the defaults?
Are you experiencing crashes with either OutOfPermGenSpace or OutOfMemory errors?
no crashes. its running quite well.
I was just hoping to get rid of the wait times which seam to happen mainly when waiting for menus to appear on right mouse clicks.
(i just took a screen cap of the right click on the main menu. then move the mouse up and down the menu. It stops and waits when it passes over "Local History" on the way down, and "Synchronize" on the way back up)
It small things like this that I would like to get quicker if there is a way.
Hoping to be able to give it more resources so the wait time gets as close to eliminated as possible.
Attachment(s):
test-0000.mpeg
Well, than you have nothing to tune with VM options. Deleive me, I'd included that as a default if it were
Anyway, I'd suggest you to file these details as a "performance problem" issue to tracker and attach an appropriate CPU snapshot with it. (And thr video too). Than we can look into it.
As a separate adivice I'd like to point that an SSD is a best investment in overal user experience with all applications after getting enough RAM. UPD: I see you've already got one. Thie means that someting gone really wrong on our side.
Thanks.
I changed the vmoptions back and added the issue here: http://youtrack.jetbrains.net/issue/WI-4904?projectKey=WI