hologram icon indicating copy to clipboard operation
hologram copied to clipboard

Excess memory usage during development

Open absowoot opened this issue 1 month ago • 0 comments

Describe the bug Each time the compiler runs, 2 new processes are created for Elixir.Hologram.Compiler.CallGraph, and the old processes are not removed, leading to excess memory usage while developing.

To Reproduce Steps to reproduce the behavior:

  1. Update extra_applications: [:logger, :runtime_tools, :observer, :wx]
  2. Start server and run :observer.start()
  3. Save any file and keep an eye on the Processes tab in observer (sort by memory)

Screenshots Image

Each spike is a file save Image

Environment information

  • Hologram version: 0.6.5
  • Elixir version: 1.18.4
  • Erlang/OTP 28 [erts-16.1.2]
  • Node.js version: 24.9.0
  • Operating System: Mac Tahoe 26.1

absowoot avatar Dec 02 '25 14:12 absowoot