i have a memory issue using Promise.longStackTraces(). I tried to create an "infite loop" for a crawler and noticed a huge memory usage for the application; i debugged the application and found a strange behaviour.
I can fix the memory leak but the given code will still keep using maximum memory because it runs synchronously. However if you do someAsyncAction().then(crawlLoop) there is no memory issue. Is such fix fine?