Remote Observer is crashing on Memory Allocators tab

I have connected observer to remote node through ssh tunneling and everything is working fine except the memory allocator tab.
Observer crashes as soon as I switch to that tab.
Can anyone please tell why it is happening?

Observer: Child (allc_panel) crashed exiting:  <0.127.0> {badarith,
                                                          [{observer_perf_wx,
                                                            '-collect_data/3-lc$^2/1-2-',
                                                            1,
                                                            [{file,
                                                              "observer_perf_wx.erl"},
                                                             {line,446}]},
                                                           {observer_perf_wx,
                                                            collect_data,3,
                                                            [{file,
                                                              "observer_perf_wx.erl"},
                                                             {line,446}]},
                                                           {observer_perf_wx,
                                                            add_data_2,3,
                                                            [{file,
                                                              "observer_perf_wx.erl"},
                                                             {line,306}]},
                                                           {observer_perf_wx,
                                                            '-add_data_1/6-fun-0-',
                                                            7,
                                                            [{file,
                                                              "observer_perf_wx.erl"},
                                                             {line,286}]},
                                                           {lists,mapfoldl,3,
                                                            [{file,
                                                              "lists.erl"},
                                                             {line,1354}]},
                                                           {lists,mapfoldl,3,
                                                            [{file,
                                                              "lists.erl"},
                                                             {line,1355}]},
                                                           {observer_perf_wx,
                                                            add_data_1,6,
                                                            [{file,
                                                              "observer_perf_wx.erl"},
                                                             {line,285}]},
                                                           {observer_alloc_wx,
                                                            restart_fetcher,2,
                                                            [{file,
                                                              "observer_alloc_wx.erl"},
                                                             {line,202}]}]}

I just had a good 15 minutes of head-scratching due to this same error!

Fellow time-traveller, if you land here like me, make sure that your local and remote Erlang and Elixir versions are the same. That’s what caused this error for me: local was on OTP 22+Elixir 11.3, while remote is on OTP 23+Elixir 11.3. Upgrading the local to OTP 23 made all issues disappear! :raised_hands:

1 Like