Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Active Contributor
Ixath
Posts: 36
Registered: ‎12-05-2011
Message 1 of 1 (1,897 Views)

CACHEMAXFILES = 1 makes DELETE and SAVEAS very slow (AutoCAD 2013)

1897 Views, 0 Replies
01-23-2013 10:34 AM

 

I'm not sure if this issue is very specific to what I'm working on or if it's a more general problem. Either way, I thought it might be helpful to someone so I'm sharing it:

 

Setting CACHEMAXFILES to 0 and emptying the cache directory (below) provided a huge increase in speed when deleting objects and saving immediately after. Set at 1, it was taking 13 seconds to delete 5956 objects (all surfaces) and 48 seconds to saveas immediately afterwards. Set at 0, it takes less than 1 second to save those objects and the saveas time was reduced to 25 seconds.

 

In AutoCAD 2012, before CACHEMAXFILES was introduced, both the DELETE and SAVEAS commands were instantaneous. Please keep in mind that I've only tested this decently large files (20-40 megs) and the only objects in the drawing were surfaces (imported .sat files). This might not be an issue with other object types or smaller files. I have the SAVEAS set to use the ac2013_dwg format.

 

Weird Times

With CACHEMAXFILES = 0, using ac2013_dwg, save time (after delete) is 25 seconds.

With CACHEMAXFILES = 0, using ac2010_dwg, save time (after delete) is instant.

 

With CACHEMAXFILES = 1, using ac2013_dwg, delete time is 13 seconds, save time (after delete) is 48 seconds.

With CACHEMAXFILES = 1, using ac2010_dwg, delete time is 13 seconds, save time (after delete) is 48 seconds.

 

Graphics Cache Location - Windows 7

C:\Users\[username]\AppData\Local\Autodesk\MEP 2013\enu\GraphicsCache\

Change the username bit to the correct username, unless your username is [username]... which would be very weird of you.

 

The only thing I'm not sure about, is why the ac2013_dwg format is still taking 25 seconds longer to save than the ac2010_dwg format :/

 

Good luck and I hope this is helpful to somebody out there.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!