SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: vladie on September 22, 2018, 02:13:30 PM

Title: Slickedit hangs while parsing JSX code
Post by: vladie on September 22, 2018, 02:13:30 PM
Hi
I've tried to edit javascript/react project with slickedit. I've found, that if i open javascript files with react JSX inside, slickedit starts to eat 100% of CPU and infinitely allocating memory, even after closing  - it closes window but keeps to run in background, i need to kill it by myself. My mac have 64gb ram, slickedit exhauses it in 30-40 minutes.
Title: Re: Slickedit hangs while parsing JSX code
Post by: Dennis on September 24, 2018, 03:48:03 PM
Please share a sample source file with us so we can try to reproduce this (you can attach it to this thread).
Title: Re: Slickedit hangs while parsing JSX code
Post by: vladie on September 26, 2018, 10:27:35 AM
the problem is in parsing file app.bundle.js, which is generated by webpack, with debug turned on. i've attached project with webpack-generated file for almost empty project.
Title: Re: Slickedit hangs while parsing JSX code
Post by: patrick on September 26, 2018, 07:18:28 PM
We're looking at it.  Thanks for the sample.
Title: Re: Slickedit hangs while parsing JSX code
Post by: patrick on September 27, 2018, 02:38:28 PM
This should be fixed in the next drop.