On Sat, Oct 3, 2009 at 5:39 PM, Jean-Philippe Bernardy 
<jeanphilippe.berna...@gmail.com> wrote:

On Sat, Oct 3, 2009 at 8:44 PM,  <gwe...@gmail.com> wrote:
So on my laptop the other day, I noticed Yi had spiked to 60% of my RAM
(512MB machine), which perplexed me as I was only doing some IReader stuff
and each text is no more than a book (1MB?) and usually less.

A little thought and I decided that this must be due to the undo history,
since I could undo each update, and if the text of each and every book I was
going through was being held...

It could be, but it might also be another leak. Please report your results!


+                                               -- erase undo history
+                                               putA undosA emptyU


Yes, that clears the undo list.

-- JP

I've managed to work past those compilation issues (I also note that Haddock is 
complaining) and got my config updated to the new keybinding scheme, and've 
been testing it out. Memory usage seems to be constant like it should be.

---
On a sidenote, besides the haddock issues & GHC API being broken,
is the Scion flag also broken?

[ 98 of 116] Compiling Yi.Eval          ( src/Yi/Eval.hs, 
dist/build/yi/yi-tmp/Yi/Eval.o )

src/Yi/Eval.hs:93:32:
   Overlapping instances for Monad (Either Yi.Interpreter.Err)
     arising from a use of `addMakeAction' at src/Yi/Eval.hs:93:32-44
   Matching instances:
     instance (mtl-1.1.0.2:Control.Monad.Error.Class.Error e) =>
              Monad (Either e)
       -- Defined in mtl-1.1.0.2:Control.Monad.Error
     instance (Control.Monad.Trans.Error.Error e) => Monad (Either e)
       -- Defined in Control.Monad.Trans.Error
   In the first argument of `(=<<)', namely `addMakeAction'
   In the second argument of `(=<<)', namely
       `addMakeAction =<< rename env =<< parse s'
   In the second argument of `(=<<)', namely
       `interpret =<< addMakeAction =<< rename env =<< parse s'


--
gwern

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to