Skip to content

Undo buffer limit exceeded #26

@DonyorM

Description

@DonyorM

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EmacsEmacs client related issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions