Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In many cases the memory usage is linear with input data, so you can come up with a function that predicts memory usage, add some padding, and then you don't need retries. E.g. this example here: https://pythonspeed.com/articles/estimating-memory-usage/


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: