GNU bug report logs -
#67129
30.0.50; starting js-mode or js-ts-mode eats ram until emacs gets killed
Previous Next
Reported by: alex <amk <at> amk.ie>
Date: Sun, 12 Nov 2023 12:26:01 UTC
Severity: normal
Found in version 30.0.50
Full log
View this message in rfc822 format
[Please use Reply All to keep the bug tracker on the CC list.]
> Date: Sun, 12 Nov 2023 13:09:26 +0000
> From: "Alex McGrath" <amk <at> amk.ie>
> TLS-Required: No
>
> 12 November 2023 at 12:32, "Eli Zaretskii" <eliz <at> gnu.org> wrote:
> >
> > If you mean this recipe:
> >
> > emacs -Q
> > M-x js-mode RET
> >
> > then after it I cannot see any changes in the Emacs's memory
> > footprint. It stays constant. Do I need to do something else, like
> > visit a JS source file?
> >
>
> Yes this is the recipe i used, I've debugged it a bit more, and I
> think its an issue with how the javascript tree-sitter grammer
> is built on alpine, if its not installed it works okay, and if its
> installed via treesit-install-language-grammer it also works fine.
So the problem is only with js-ts-mode, not with js-mode? Your
original report said both modes cause the problem. js-mode doesn't
use the tree-sitter grammar.
> I think this can be closed as it seems specific to something alpine
> is doing
Fine by me, but I'd like first to hear from you that js-mode is free
from the problem, otherwise the tree-sitter grammar is not necessarily
the cause.
This bug report was last modified 1 year and 216 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.