sayid icon indicating copy to clipboard operation
sayid copied to clipboard

Undo buffer limit exceeded

Open DonyorM opened this issue 8 years ago • 4 comments

I have been doing an inner trace on a recursive function, and thus generating a very large workspace buffer. I've been getting this error basically whenever I did something.

Warning (undo): Buffer `*sayid*' undo info was 21192348 bytes long.
The undo info was discarded because it exceeded `undo-outer-limit'.

This is normal if you executed a command that made a huge change
to the buffer.  In that case, to prevent similar problems in the
future, set `undo-outer-limit' to a value that is large enough to
cover the maximum size of normal changes you expect a single
command to make, but not so large that it might exceed the
maximum memory allotted to Emacs.

If you did not execute any such command, the situation is
probably due to a bug and you should report it.

You can disable the popping up of this buffer by adding the entry
(undo discard-info) to the user option `warning-suppress-types',
which is defined in the `warnings' library.

I don't know if sayid needs the undo buffer, so if it doesn't, we could consider removing it to avoid the issue. Otherwise, users need to set their limit higher.

DonyorM avatar Mar 15 '17 16:03 DonyorM

Sayid shouldn't need any undo info. I'll fix that. thanks

bpiel avatar Mar 15 '17 17:03 bpiel

Should be fixed in next release https://github.com/bpiel/sayid/commit/c452b09d9adff33e283bc1b561c708fdfeadb9a1

bpiel avatar May 01 '17 20:05 bpiel

v0.0.15 is out with a fix for this. I didn't actually get around to testing though. If this is still happening, I'd really appreciate a note here.

bpiel avatar May 03 '17 15:05 bpiel

Nope, that didn't work. This is still a bug.

bpiel avatar May 03 '17 16:05 bpiel