Git Product home page Git Product logo

Comments (5)

phuchip avatar phuchip commented on June 12, 2024

I also have the same problem and I haven't been able to resolve it on my computer

from vscode-intelephense.

mthrink avatar mthrink commented on June 12, 2024

I had the same situation with laravel. I tried updating Composer and it was fixed. Please give it a try.

from vscode-intelephense.

archon810 avatar archon810 commented on June 12, 2024

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.

archon810 avatar archon810 commented on June 12, 2024

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.

stoneC0der avatar stoneC0der commented on June 12, 2024

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
Screenshot from 2024-06-08 15-12-13

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.