vlaaad / reveal

Read Eval Visualize Loop for Clojure

Home Page:https://vlaaad.github.io/reveal/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Memory leak?

mjmeintjes opened this issue · comments

I've been using reveal pretty extensively and it works very well.

However, I have been experiencing lots of OutOfMemory exceptions, and I wonder whether reveal is the cause.

Is there some sort of limit on the number of history items to store? If not, it would be useful to be able to set a limit on the amount of entries to keep in memory (like a ring buffer). Is this something that would be possible?

Reveal can be the cause, yes — it saves references to all submitted values for inspection. I'm planning to add the ability to clear the output panel, so those refs can be garbage collected

Released 1.1.171 that adds Ctrl L as a shortcut for clearing the output panel. It uses Ctrl (instead of ) on Mac too for consistency.