Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HN example: infinite scroll out of memory error #115

Open
naartjie opened this issue Apr 14, 2019 · 5 comments
Open

HN example: infinite scroll out of memory error #115

naartjie opened this issue Apr 14, 2019 · 5 comments

Comments

@naartjie
Copy link
Collaborator

naartjie commented Apr 14, 2019

Steps to reproduce:

  • esy run the hacker-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
Copy link
Member

@naartjie the first step when debugging this would be profiling this with the allocations instrument in Instruments.app

@naartjie
Copy link
Collaborator Author

Thanks @wokalski. I'll try fiddling with it, and see if I am able to get more info.

@wokalski
Copy link
Member

wokalski commented May 7, 2019

It'd be interesting to see how it works with the new version of brisk-reconciler:
briskml/brisk-reconciler#33

@naartjie
Copy link
Collaborator Author

naartjie commented May 7, 2019

@wokalski yup, was thinking the same. I'm keen to check it out. Hopefully this week sometime 🤞

@naartjie
Copy link
Collaborator Author

naartjie commented May 7, 2019

@wokalski I did a quick check, and it's still crashing with the latest reconciler. I'll try again with the profiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants