Same slowness on Mac
I'm running dev build 2017.1 on MacOS 10.12.4 and editing sources living on an Ubuntu 16.04 VM (VMware Fusion 8.5.6) . Network protocol is CIFS (because SMB has gotten progressively problematic in MacOS). The Mac is a late 2013 Mac Pro cylinder with six cores, 64GB of memory and SSDs. PHPStorm should be flying.
Except for the chronic message about how my sources were on a network share and that performance would be slow, everything was fine before the last production upgrade. Then I started noticing considerable slowdowns in the UI. When it gets to the point that characters were taking two seconds or more to echo to screen I do an Invalidate Caches/Restart which works for a few minutes.
On the advice of someone at your company I installed the dev build but the problem is still there.
I've followed the advice to disable directories I don't need: /node_modules, /vendor, It didn't help.
I edited my custom VM options:
# custom PhpStorm VM options
-Xms128m
-Xmx4096m
-XX:ReservedCodeCacheSize=240m
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=96m
-XX:+UseCodeCacheFlushing
-XX:+UseCompressedOops
Didnt help.
I'm buried in a time-critical project now so I don't have any more time to play with this. What I'd like to do is roll back to an earlier PHPStorm production release. Will this create problems because I've been running newer versions? If not, which version should I grab and where would I find it?
Please sign in to leave a comment.
Hello
What do you mean by dev build? Pre-release EAP version?
You might be aware that 2017.1.2 (171.4249) is already released - I am pretty sure this is more recent than the latest EAP build and has more fixes.
> Network protocol is CIFS (because SMB has gotten progressively problematic in MacOS).
Unfortunately, working with remote files directly, via network, is not a supported scenario. It does not matter if files are located inside a VM that runs on a local host - it's about protocol level and file access latency.
PhpStorm has been designed to work with local copy of the project. Find more info about this approach here: https://www.jetbrains.com/phpstorm/help/working-with-web-servers-copying-files.html .
Working with a local copy and then configuring a synchronization with VM by following guide https://confluence.jetbrains.com/display/PhpStorm/Deployments+in+PhpStorm is the best option.
I had a pre-release EAP build but a subsequent update put me at 2017.1.2.
Whether or not CIFS/SMB is officially supported, I never ran into this problem with slow performance until the last 2016 update. Is there something I can disable in PHPStorm to reduce the file access overhead? My project is quite large so I'd rather work with the actual sources on my Ubuntu localdev rather than a copy on my Mac, which is starved for space.
> Is there something I can disable in PHPStorm to reduce the file access overhead?
You can mark some of the folder as Excluded to remove them from indexing and virtual file system refresh list.
You can also roll back to a previous version of PhpStorm by installing an older release from https://confluence.jetbrains.com/display/PhpStorm/Previous+PhpStorm+Releases