Jump to content

Lisp in Startup Suite Causing Slow Save and Close - Cad2012


pardavis

Recommended Posts

I have a lisp that I added to the startup suite. Once I added it, saving and closing drawings, take forever. If I unload it from startup suite everything goes back to normal. What in a lisp could cause such slow saving and closing? It is a fairly big lisp.

Link to comment
Share on other sites

You might have Reactors running that are evaluating large callback functions during Save / Close Events.

 

After opening your drawing, type at the command line:

 

(vl-load-com)

then

 

(vlr-reactors)

to see if any reactors are running in the session.

Link to comment
Share on other sites

I have a lisp that I added to the startup suite. Once I added it, saving and closing drawings, take forever. If I unload it from startup suite everything goes back to normal. What in a lisp could cause such slow saving and closing? It is a fairly big lisp.

You could post it here, and we'll find out what happened ^^

Link to comment
Share on other sites

You could post it here, and we'll find out what happened ^^
Probably the best bet. While reactors could cause issues, most probably it's searching for some file somewhere - if not found this could take long, especially if you have a network path on your support paths. Otherwise the lisp itself could be doing something strange like searching through the entire drawing at startup. There could be other stuff happening as well, but we can only tell for sure after looking at the lisp.
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...