Search

Fast thread

Universal Java Thread Dump Analyzer

Tag

Flame graph

Troubleshooting Uncaught RangeError: Maximum call stack size exceeded

The blog post discusses a specific error, 'Uncaught RangeError: Maximum call stack size exceeded', encountered while loading the fastThread web application in Microsoft Edge. The issue arose due to deeply nested JSON during flame graph generation, which did not affect Chrome or Firefox. An interim solution involved limiting JSON nesting for Edge users while ensuring compatibility across other browsers.

Flame Graph from Java thread dump

Thread dumps are essential for diagnosing performance issues in applications, often spanning hundreds of lines. Condensing this data into a flame graph simplifies analysis. The article outlines generating flame graphs from Java or JVM languages by capturing thread dumps using jstack and analyzing them with the fastThread tool. Flame graphs enhance code visualization.

How to use Flame Graph?

Thread dump files are often lengthy and complex, making analysis difficult. The fastThread tool generates condensed flame graphs that simplify this process, allowing for quick identification of hot code paths. Key features include mouse hover information, distinct colors, adjustable box widths, zoom capabilities, and a search function, enhancing debugging efficiency.

Up ↑