AutoCAD customized tool(.Net) is getting crashed while running on 2019

AutoCAD customized tool(.Net) is getting crashed while running on 2019

anuradha
Explorer Explorer
569 Views
3 Replies
Message 1 of 4

AutoCAD customized tool(.Net) is getting crashed while running on 2019

anuradha
Explorer
Explorer

Hi,

 

We have  developed a .Net based AutoCAD tool to create some profiles in DXF format.This tool is working fine with all AutoCAD version 2014 to 2018 with out any crashing problem.

Recently we have tried with AutoCAD 2019 on the same computer and this tool is getting crashed while continuously accessing AUTOCAD .This is happening while the CPU utilization is achieving 80% to 100% during process.But its not happening at all in my previous version of AutoCAD on same Computer.

 

 System Configuration (Failed for AutoCAD 2019):

  • Processor: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz 2.70 GHz
  • Memory(RAM): 32 GB
  • OS: 64-Bit


I have another computer Configuration where its working fine. Following configuration system is working fine with my Tool on AutoCAD 2019.

  • Processor: AMD FX(tm)-8350 Eight-core processor 4.0GHz
  • Memory(RAM): 12 GB
  • OS: 64-Bit

It is affecting all our existing tool where we continuously reading or writing AutoCAD files through customized application.

 

Requesting for a solution to this problem.

 

Thanks in advance.

 

Regards,

Anuradha

 

 

0 Likes
570 Views
3 Replies
Replies (3)
Message 2 of 4

Virupaksha_aithal
Autodesk Support
Autodesk Support

Hi,

 

Is your .NET application a batch processing application? If yes, I will suggest you, close and restart AutoCAD after processing few drawings/dxf files.

 



Virupaksha Aithal KM
Developer Technical Services
Autodesk Developer Network

Message 3 of 4

anuradha
Explorer
Explorer

Hi Viru,

 

Thank you for your reply.

Yes, AutoCAD is getting crashed while i am performing batch process. 

I can do Close and restart the AutoCAD as a work around solution.But it will not be good when i am performing for 1000 files.

Could you help me to understand the problem why it is happening with AutoCAD 2019 with light processor?.

Has Autodesk made a any changes on AutoCAD 2019  release with core level(CPU usage or memory management)?

Any other suggestion would be more helpful.

 

It is affecting all our exiting applications with our clients to move to AutoCAD 2019.

 

Thank you.

Anuradha

0 Likes
Message 4 of 4

dgorsman
Consultant
Consultant

Aha... you can't realistically process such large sets on a single AutoCAD session.  This is more of an operating system problem than of the application.  As you open and close drawings, blocks of memory are left allocated as they still have a few users.  They won't be deallocated until the host program closes.

 

For truly large scale batch operations it is *highly* recommended you limit the number of DWG files per AutoCAD session, ideally to one per but around 20 - 40 is a practical limit.  This will give the application a chance to properly free up used memory blocks.  When you use the core console this way, you can spin up a session per available thread, available memory permitting, to speed up processing.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.