Comments (5)
I also have the same problem and I haven't been able to resolve it on my computer
from vscode-intelephense.
I had the same situation with laravel. I tried updating Composer and it was fixed. Please give it a try.
from vscode-intelephense.
I have the same issue, but only when the project is a remote PHP project via SSH. Local finishes fine on the same code (it's a typical Wordpress site).
In fact, I'm pretty sure it crashes node on the remote server microsoft/vscode#213173.
from vscode-intelephense.
VSC closed my ticket above, but maybe @bmewburn could take a look as I posted the crash backtrace there. The process seems to be running out of RAM, perhaps there's a bug somewhere.
from vscode-intelephense.
I had the same situation with laravel. I tried updating Composer and it was fixed. Please give it a try.
I tried this, but still the same
OS: Kali 2024.1 (Gnome 46)
Actually I stopped using Vscode because this has been going on for quite long (over 4 months), tought it was system.
- Downgrade to version 1.10.0, 1.10.1, 1.10.2
It starts indexing, then stop, then starts again - v1.10.3, v1.10.4
Stucked
ERROR
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
[Error - 1:43:54 PM] The intelephense server crashed 5 times in the last 3 minutes. The server will not be restarted.
See the output for more information.
UPDATE:
I had two extension crashing: SonarLint & this one
- After solving sonarlint java issue & node issue
nothing changed, so that was not the issue
So I look through the settings and saw the setting below
First I just had 0 after the initial value that is 256MB, so 2560MB
The indexing of the project completed without any issue
Then I decrease it again to the initial size 256MB, open another project with laravel/vue
- the indexing was stuck again
This time I tried with 512MB, same thing
I finally got it to index the project with the value in the screenshot above: 1024MB.
Conclusion, increasing the Max Memory solved the issue for me
from vscode-intelephense.
Related Issues (20)
- Add references HOT 1
- Laravel No definition found for .... HOT 1
- Undefined method 'save'.intelephense(P1013) HOT 1
- Remove php >? closing tag while formating
- Heredoc code folding working on free, but not Premium HOT 4
- Template type go to def, completion, refs, rename
- Highligh of current property not working for constructor property promotion HOT 1
- Syntax ++ -- HOT 1
- Cannot activate behind corporate proxy HOT 1
- Doesn't know the type when iterate iterable HOT 1
- Limited support for `@see` tag. HOT 1
- Disable formatting in quotes HOT 2
- Helix: Code Actions only work when on the first character of what you want the code action on
- Unable to disregard P1006
- An incorrect warning appears HOT 1
- Potentially incomplete behavior inheriting generics
- PHP intgelephense not working. All highlighted red
- Undefined method/property for models extends from Eloquent HOT 8
- Support quick fix importing for classes with static methods and properties
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-intelephense.