PhpStorm running out of memory while indexing project out of memory xms error.
Opening PhpStorm it throws one error while indexing project. See the error image below.
Image – 1
I have tried increasing the xmx setting to 1500 and restarted the PhpStorm but it didn’t work.
Solution worked !
Step – 1 – Close PhpStorm editor
Step – 2 – Go to Ubuntu home folder enable hidden files and folder by press Ctrl+H
Step – 2 – Find .Phpstorm folder and rename it to anything also you can delete.
Step – 3 – Then open PhpStorm again it will create another .PhpStorm folder there in the same Home folder with new configuration.
Step – 4 – It will ask to import old setting but you can ignore this. It will load with fresh configuration.
Step – 5 – Now open your project files. It should not throw any error now.
You may also like: