简体   繁体   中英

PhpStorm 6 crashing and going out of memory when there is symlink in project?

My installation pf PhpStorm keeps crashing when I open a directory that has a symlink to another directory in the project. For example, my project has dir1, dir2 and dir3 . In dir3 I have a symlink o dir2 . When I try to expand dir3 PhpStorm keeps going out of memory and eventually crashing. I increased to 1 GB and still it crashes. I know it is not a memory issue but tired increasing it anyway. I am on a Mac Mountain lion. Has anybody experienced this before? If so what are my options?

I'm using version 7. I have also found that WebStorm indexes symlinks recursively, which is bad if they ever point to their parents - indexing just goes on forever until out of memory.

One manual fix for this is to exclude any folders that are pointing to parents:

在此处输入图片说明

However, this is inefficient, as WebStorm should be smart enough to do it by itself, and an oversight can easily lead to crashing and running out of memory. This comes up a lot when using frameworks with auto-build features such as Meteor .

Ultimately, this should be reported as a bug. This is just a workaround.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM