Jump to content

STACK OVERFLOW = 900???


sln8458

Recommended Posts

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

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

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

  • Like 1
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

Just thinking back to your other questions, did you have a lot of DCL pop ups open at the time? Probably not this though

Link to comment
Share on other sites

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 by sln8458
additional info
  • Like 1
Link to comment
Share on other sites

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 by sln8458
  • Like 1
Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...