HN example: infinite scroll out of memory error
naartjie opened this issue · 5 comments
naartjie commented
Steps to reproduce:
esy run
thehacker-news
example- scroll down & wait for more items to load
- repeat until crash:
HackerNews(18909,0x10a73f5c0) malloc: can't allocate region
*** mach_vm_map(size=7093169413120000) failed (error code=3)
HackerNews(18909,0x10a73f5c0) malloc: *** set a breakpoint in malloc_error_break to debug
Fatal error: out of memory.
Also, see related #52 UI: List issue
wokalski commented
@naartjie the first step when debugging this would be profiling this with the allocations instrument in Instruments.app
naartjie commented
Thanks @wokalski. I'll try fiddling with it, and see if I am able to get more info.
wokalski commented
It'd be interesting to see how it works with the new version of brisk-reconciler:
briskml/brisk-reconciler#33