Hi,
Can you please tell me how can you manage to add 2k relations? I can't imagine if you do that manually. Does it work for you if you create less relations?
Can you try Firefox instead of Chrome? Firefox has a better detection/warning if memory goes out.
Technically, we don't run heavy JS with relationships. It's only a library select2 with a few jQuery code.