sln8458 Posted March 29, 2023 Posted March 29, 2023 Just had the following error, can anyone shed any light on what it means please? Command: (load"sln_piping.lsp") Command: sln_pipingSTACK OVERFLOW = 900 error: LISP: stack overflow Steve Quote
pkenewell Posted March 30, 2023 Posted March 30, 2023 23 hours ago, sln8458 said: Just had the following error, can anyone shed any light on what it means please? Command: (load"sln_piping.lsp") Command: sln_pipingSTACK OVERFLOW = 900 error: LISP: stack overflow Steve @sln8458 Wow that's an error I haven't seen in all long time! That usually indicates you ran out of memory to run the program. If your code is very memory intensive you may have to find a more efficient way of doing it, or use some older memory functions in AutoLISP, such as (gc), (mem), (alloc) and (expand). Quote
sln8458 Posted March 31, 2023 Author Posted March 31, 2023 Hi Phil, Thanks for the reply/info. The PC is an i9-12900/64Gb ram/Geforce 3060ti 8Gb, but I did have other programs running at the same time, one is VERY memory hungry so probably the cause. SteveN 1 Quote
SLW210 Posted April 3, 2023 Posted April 3, 2023 IIRC you can possibly get that error if too much nested code, not sure about AutoLISP. If it was working previously, maybe just a momentary issue. Can you post or link the code? What version of AutoCAD (or other CAD program) are you using? Quote
Steven P Posted April 3, 2023 Posted April 3, 2023 Just thinking back to your other questions, did you have a lot of DCL pop ups open at the time? Probably not this though Quote
sln8458 Posted April 4, 2023 Author Posted April 4, 2023 (edited) Morning Guys, There is a total of 4 dialogs in the code, with the most active dialogs in the code atm is 3, and that is only because I have failed to close the first. ( that is a separate problem that still persists ) The problem (stack overflow) has not happend again since I stopped trying to do too many things at the same time!! I'm running Intellicad 11.1.374 Edited April 4, 2023 by sln8458 additional info 1 Quote
sln8458 Posted April 4, 2023 Author Posted April 4, 2023 (edited) This is the add-on, though I'm working on changing the way that the dialog works from a single ALL-IN dialog to one dialog for each item in the left hand 'Selection' column. it can be downloaded from here -> sln piping lsp <- SteveN Edited April 4, 2023 by sln8458 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.