After extensive googling I got some hits about a PC ram usage, but not about what "out of memory" mean in programming context and how to troubleshoot it. The closest is this: Ajax out of memory question in SO
This question does not address the general cause behind "out of memory" and how to diagnose it out of the scope of Ajax (the error also shows "<unknown>
" in dev tools so its hard to track it).
It may not be that critical to what I am working on, but I am still curious. This can also serve as a good landing page for a common error that has no proper answer thread (yet).