Author Topic: Slickedit hangs while parsing JSX code  (Read 530 times)

vladie

  • Junior Community Member
  • Posts: 7
  • Hero Points: 0
Slickedit hangs while parsing JSX code
« 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.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2822
  • Hero Points: 426
Re: Slickedit hangs while parsing JSX code
« Reply #1 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).

vladie

  • Junior Community Member
  • Posts: 7
  • Hero Points: 0
Re: Slickedit hangs while parsing JSX code
« Reply #2 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.
« Last Edit: September 26, 2018, 01:17:53 pm by vladie »

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1143
  • Hero Points: 108
Re: Slickedit hangs while parsing JSX code
« Reply #3 on: September 26, 2018, 07:18:28 pm »
We're looking at it.  Thanks for the sample.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1143
  • Hero Points: 108
Re: Slickedit hangs while parsing JSX code
« Reply #4 on: September 27, 2018, 02:38:28 pm »
This should be fixed in the next drop.