     |> Enum.map_join(", ", &inspect/1)
   end
 
-  @runtime_info_topics [:system, :memory, :limits, :applications]
+  @runtime_info_topics [:system, :memory, :allocators, :limits, :applications]
   @doc """
   Prints vm/runtime information such as versions, memory usage and statistics.
   Additional topics are available via `runtime_info/1`.

  defp get_stat(:ets_count), do: length(:ets.all())
  defp get_stat(other), do: :erlang.system_info(other)

  defp print_memory(key, memory, unit \\ :kB) do
    value =
      memory
      |> :erlang.memory()
      |> div(memory_unit(unit))
      |> round()

    IO.puts("#{pad_key(key)}#{value} #{unit}")
  end

  defp memory_unit(:MB), do: 1024 * 1024
  defp memory_unit(:kB), do: 1024

  defp pad_key(key), do: String.pad_trailing("#{key}:", 20, " ")


    print_memory("Processes", :processes)
  end

  defp print_runtime_info_topic(:allocators) do
    print_pane("Allocators")

    areas = :erlang.system_info(:allocated_areas)

    print_allocator(areas, "Atom Space", :atom_space)
    print_allocator(areas, "Atom Table", :atom_table)
    print_allocator(areas, "BIF Timer", :bif_timer)
    print_allocator(areas, "Bits Bufs Size", :bits_bufs_size)
    print_allocator(areas, "Dist Table", :dist_table)
    print_allocator(areas, "ETS Misc", :ets_misc)
    print_allocator(areas, "Export List", :export_list)
    print_allocator(areas, "Export Table", :export_table)
    print_allocator(areas, "Function Table", :fun_table)
    print_allocator(areas, "Loaded Code", :loaded_code)
    print_allocator(areas, "Module Refs", :module_refs)
    print_allocator(areas, "Module Table", :module_table)
    print_allocator(areas, "Node Table", :node_table)
    print_allocator(areas, "Port Table", :port_table)
    print_allocator(areas, "Process Table", :process_table)
    print_allocator(areas, "Register Table", :register_table)
    print_allocator(areas, "Static", :static)
    print_allocator(areas, "System Misc", :sys_misc)
  end

  defp print_runtime_info_topic(:limits) do
    print_pane("Statistics / limits")
    print_uptime()
