How to prevent OutOfMemoryError when you use @Async
October 26, 2019
6 min read
Do you use @Async? You’d better watch out, because you might run into OutOfMemoryError unable to create new native thread error just as I did.