Hacker News new | ask | show | jobs
by mitxela 15 days ago
How did you manage to make a 4MB long stack trace? Recursive stack overflow with the middle part not omitted?

3/5

1 comments

4-5 java based microservices, all of which logged their own stacktrace, and also included the remote stacktrace in their local stacktrace... which was in turned included in other remote stacktraces.

Add in all of the usual unpruned Java middleware calls, multiply by 4+ and you end up with oodles of things.

Out of which the dev needed the first 5 and the innermost 5 lines. Croak & Carp did that better. But I'm old.