Re: "TLS exhausted"; need help interpreting output from DUMP-THREAD
Robert Dodier <[email protected]> Fri, 14 Mar 2025 14:14:53 -0700
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <CAAsY_sSA0w8kaCfNFZ47=+QBYZ=DyXFgOa3ALYeLkQo0HYaAvw@mail.gmail.com> |
On Thu, Mar 13, 2025 at 2:40 PM Douglas Katzman <[email protected]> wrote: > Basically it's running out of thread-local slots for special variables that have been specially and thread-locally LET-bound. Is there a way to LET-bind a special variable in some way other than thread-locally? > SBCL has a hard limit on that number, and the default is only 4k. Furthermore it has an unfortunate aspect of permanently consuming a thread-local slot for any symbol that has ever been thread-locally bound even if the symbol became garbage. I'm interested in identifying which are the special variables which are using up the thread-local slots, in hope of identifying a workaround (i.e. reworking the code to create fewer of the offending symbols). Is there a way to know what are the symbols which have been allocated thread-local slots? Thanks for your help, Robert _______________________________________________ Sbcl-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sbcl-help