Maximum Data Size Limits in Named and Extension Dictionaries in AutoCAD

Maximum Data Size Limits in Named and Extension Dictionaries in AutoCAD

m_maneesh2000
Participant Participant
214 Views
2 Replies
Message 1 of 3

Maximum Data Size Limits in Named and Extension Dictionaries in AutoCAD

m_maneesh2000
Participant
Participant

1. What is the maximum data size that can be stored in a named dictionary in a drawing file?

2. What is the maximum data size that can be stored in an extension dictionary in an entity?

 

Are there any official size limits or practical constraints I should be aware of (e.g., performance degradation, memory issues)?

0 Likes
Accepted solutions (1)
215 Views
2 Replies
Replies (2)
Message 2 of 3

_gile
Consultant
Consultant
Accepted solution

From this topic: "Extension dictionary entries have no maximum size restriction". This should also apply to named dictionaries, both are the same DBDictionary type.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes
Message 3 of 3

ActivistInvestor
Mentor
Mentor

If you're planning to store large amounts of data in an XDictionary, my advice is to distribute the data across multiple XRecords rather than stuffing it all into a single XRecord.

 

If you divide the data up across multipole Xrecords, based on some metadata or category, you can access it without having to read all of the data into memory as would be needed if you put everything into a single XRecord.