Monthly Archives: September 2021

Which lines repeat most often in a stack trace?

I was looking at the stack trace of a stack overflow exception, and it’s looong (1172 lines). I wanted to just see which lines occurred most often. Easy enough with the right incantation of sort and uniq.

Posted in Uncategorized | Leave a comment

Running Eclipse MAT on macOS

If you try to run Eclipse Memory Analyzer (MAT) out of the box on macOS, you’ll likely get an error that you need version 11 or above of Java, even if you have version 11 installed (say, with SDKMAN!). You … Continue reading

Posted in Uncategorized | Leave a comment