.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AutoCAD gets slower when loading for each VS 2010 express debugging session

3 REPLIES 3
Reply
Message 1 of 4
aksaks
352 Views, 3 Replies

AutoCAD gets slower when loading for each VS 2010 express debugging session

When running VS 2010 express in debug mode, for either AutoCAD 2010 or 2012, 64 bit, AutoCAD gets slower and slower loading with each subsequent debug session until it becomes intolerable. A system restart is necessary. Is this normal? I see this on a fast machine with tons of ram. During the waits there are patches of white screen in the various AutoCAD interface components. The performance hit is exponential with each session. The first debug is normal, The second is slightly slower. The third is noticeably slower and so on.

3 REPLIES 3
Message 2 of 4
adadnet
in reply to: aksaks

hi, shot in the dark really:

 

what's the intermediate window saying? any warnings on 'forgot to dispose' items you may have created and which are, somehow, accumulating?  or does it happen when debugging even 'empty' commands?

 

else, set a debug.time start and end for individual sections.

 

felix

Message 3 of 4
aksaks
in reply to: adadnet

The delay occurs starting the AutoCAD session prior to netloading the application to debug. The immediate window is blank until the last moment when the ribbon shows up. Then it is full of errors related mostly to the UI, which I believe is considered normal.

Message 4 of 4
hgasty1001
in reply to: adadnet

Hi,

 

An other shot in the dark, looks like a memory leak , check the memory before and after netloading , using the app and closing Acad, but may be anything, from improperly dispose of some objects , hard disk space , a threading issue, etc.

please show the code and the specs of your platform.

 

Gaston Nunez

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost