question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using the app freezes the browser

See original GitHub issue

Hello and thank you for your work. I’ve just watched the recording of your talk at TSConf and I must say — it was one of the best.

I’ve noticed it’s quite easy to get the AST Viewer to crash, along with the browser.

  1. Go to https://ts-ast-viewer.com/
  2. Type const document = window.document.
  3. Click the PropertyAccessExpression immediately.

What happens:

  1. CPU usage goes to 100%
  2. Memory usage explodes.

Chrome debugger halts the execution with the message:

Paused before potential out-of-memory crash

Tried on Chrome 66.

I’ve made a recording if that helps:

ast-viewer

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
karol-majewskicommented, May 6, 2018

@dsherret I couldn’t make it crash. Nicely done!

0reactions
dsherretcommented, May 20, 2018

Thanks @mszu! Should be fixed now. I missed that scenario the first time around.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix It When Chrome Keeps Freezing - Lifewire
Causes of Chrome Freezing · Chrome has too many open tabs, and the browser is using too many system resources. · Third-party apps...
Read more >
How to Fix Chrome Keeps Freezing on Android
Open Settings, swipe and tap Apps > Select or search for the app you want to clear. Tap Storage > hit Clear cache....
Read more >
Chrome bug is causing web pages inside apps to freeze and ...
While there are still a few reports of the freezing issue occurring in regular Chrome, the bug doesn't seem to be as common...
Read more >
Why Does Google Chrome Keep Crashing, Freezing, or Not ...
Does Google Chrome keep crashing on your computer? Learn how to fix Chrome freezing and other frustrating Chrome errors.
Read more >
iOS 15 web app screen freeze in ch… | Apple Developer Forums
Facing an issue with my webapp wherein the screen is freezing up on safari/chrome and edge if a user is switching to another...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found