© 2011 Autodesk Managing Your AutoCAD®/RealDWG® Model Memory Footprint for Better Performance Bill Adkison MarinCAD Software Engineering CP4286-U November.

Slides:



Advertisements
Similar presentations
Construction Documents and Details
Advertisements

© 2011 Autodesk CI4028: Don’t Sweat The Small Stuff – Conform Dwgs Rec’d To Your AutoCAD Civil 3D ® Standards Lisa Pohlmeyer Engr. Asst. IV – Williamson.
© 2011 Autodesk Capitalize on Corridor Improvements in AutoCAD ® Civil 3D ® Don Quinn Civil Engineer / Eagle Point Product Specialist.
© 2011 Autodesk Charging on from Schematics to Panels in AutoCAD ® Electrical (MA4757-L) Todd Schmoock Solutions Engineer - Synergis Technologies, Inc.
© 2010 Autodesk Autodesk Structural Curriculum 2013 Unit 1: Introduction to Structural BIM Building Information Modeling.
© 2012 Autodesk Conceptual and Design Workflows Using Autodesk ® 360 Integrated Applications Anirban Ghosh Principal User Experience Designer – DLS Mobile.
© 2011 Autodesk Publishing Infrastructure Data to Map Books GS3341 Andy Morsell, P.E. Consultant Autodesk Global Services Utilities & Telecom Consulting.
© 2011 Autodesk Single Job 1 Processor 1 Single Job 2 Single Job 3 Processor 2 Processor 3 Big Job 1 Big Job 2 Single Job 4 Processor 1 Single Job 5 Single.
© 2011 Autodesk CP Leveraging ActiveX® Libraries with AutoLISP® Lee Ambrosius – Autodesk, Inc. Sr. Technical Writer – PSEB User Assistance.
Scripting Components for AutoCAD Plant 3D
© 2012 Autodesk Implementing Cloud-Based Productivity Solutions with the AutoCAD® ObjectARX® API Ravi Krishnaswamy Senior Software Architect.
© 2012 Autodesk CI4820-V Feeling the Lay of the Land: Civil 3D and 3ds MAX Design for Landscape Architecture Robert Ward Landscape Architect LEED AP.
© 2012 Autodesk Autodesk 360 Jerry Campbell VDC Consultant.
© 2012 Autodesk AutoCAD ® Virtualized and Digitized michael trachtenberg - AE BackOffice Software Director.
© 2012 Autodesk BIM on an Etch a Sketch Jose Guia Janitor extraordinaire
© 2012 Autodesk The Devil Is In The Workflow Module 1: Successfully Plan and Implement BIM Luis Rojas Building Design Product Line Manager, Eagle Point.
© 2011 Autodesk Mechanical Simulation in AutoCAD ® 2012 Craig A. Miller – Pennsylvania College of Technology CAD Technology Specialist.
© 2012 Autodesk Project Architect-Times-a-Changing: How to transition from yesterday to today Christopher Ozog Project Architect.
© 2012 Autodesk AutoCAD on Electrical Steroids Randy Brunette Electrical Subject Matter Expert (Autodesk)
Join us on Twitter: #AU2013 Roundtable: Electrical in a 3D World Randy Brunette Electrical Subject Matter Expert Janna Spicer Product Manager, Mechanical.
© 2012 Autodesk Matthew Stuver, LEED AP BD+C BIM Manager Dynamix Engineering Ltd. MP1425-R: AU2012 AutoCAD® Revit® MEP Family Reunion.
© 2012 Autodesk How to Get the Most from Integrated Project Delivery (IPD) David J. Patera Team Project Manager & VDC Coordinator.
© 2011 Autodesk MA5737 – Mechanical Advantage: Using AutoCAD Mechanical for 2D Legacy and 3D Model Documentation Mark Flayler Senior Application Expert.
© 2011 Autodesk Converting Existing Piping Specs Ian Matthew Technical Marketing Manager, Autodesk.
© 2011 Autodesk Popular Design Patterns and How to Implement Them in.NET Gopinath Taget Senior Developer Consultant.
© 2011 Autodesk Managing Your Standards and Reusable Content with AutoCAD Tool Palettes – Revealed! Matt Murphy Director of Content Management and Development.
© 2012 Autodesk MP2005 Autodesk Revit Architecture Room Data and AutoCAD MEP: You Did What with the Xdata? Jeff Campbell Senior Applications Specialist,
© 2012 Autodesk AutoCAD® API.NET Tips and Tricks James E. Johnson Application Developer for Synergis Software.
© 2012 Autodesk Rolling Your Own: Building Apps in Autodesk® PLM 360 Joseph Piggee Trung Nguyen.
© 2012 Autodesk From Nothing to Something using AutoCAD ® Electrical Todd Schmoock Solutions Engineer - Synergis Technologies, Inc.
© 2012 Autodesk Adding Instrumentation and Electrical Capabilities to Autodesk® Plant Design Suite Andy Bonfield.
© 2012 Autodesk Autodesk® Revit® MEP: Get Current with Electrical Engineering Module 1 – Dual Circuiting Seth Mathis Schmidt Associates BIM Designer.
© 2012 Autodesk Going for the Gold with Data Management AB6022-V Adam Peter Customer Success Engineer.
© 2012 Autodesk Can You Afford to Use Old Training Methods on New Technology? Module 1: Why Old Training Methods Don’t Work Steve Biver Civil Product Line.
Join us on Twitter: #AU2014. Class summary text goes here Class summary.
© 2011 Autodesk Optimizing Digital Drawing Files and BIM Models for Measurement and Estimating Simon Lovegrove MRICS, AAIQS Director, Exactal.
© 2011 Autodesk Showcase your Inventor Models David Edward Gaskill CAD Designer or
© 2012 Autodesk Customizing AutoCAD P&ID David Wolfe Process and Power Specialist.
© 2012 Autodesk AB1851 Optimizing the Design Development Stage using Revit Architecture Douglas Bowers, AIA, LEED AP BD+C Doug Bowers Consulting, LLC.
Join us on Twitter: #AU2013.  An appropriate image has been provided for your presentation based on the AU look and feel  You can replace the Title.
© 2011 Autodesk AC2182 P - Autodesk 3ds Max for Starters Create Stunning Renderings For All Situations Christopher Fernandez Senior Applications Specialist,
© 2012 Autodesk The Picture Says It All: Commercial Site Plan 3D Visualizations Using Autodesk® IDS John Sayre Civil Application Engineer.
© 2011 Autodesk The Suite Life of AutoCAD® Guillermo Melantoni Sr Product Manager: Workflows and Interoperability at Autodesk.
© 2012 Autodesk Autodesk® Civil 3D® 3D Studio Max Design®: Civil View For All Vincent Sheehan Sr. Designer, Timmons Group.
© 2012 Autodesk SM3595-R | Thinking of Design, Engineering, and Simulation Differently! Luke Mihelcic Product Marketing Manager | ISM – Simulation Industry.
© 2012 Autodesk Collaboration Systems – It’s good to share Martin Duke Business Systems Manager.
© 2011 Autodesk Customizing AutoCAD ® Plant 3D Isometrics Joel HarrisIan Matthew Piping Technology Specialist, Anvil Corp.Technical Marketing Manager,
© 2011 Autodesk Painless Productivity Programming with the AutoCAD Action Recorder – Revealed! Matt Murphy Director of Content Management and Development.
© 2012 Autodesk PL Autodesk ® PLM 360 for the AEC Space Klaus Lörincz PLM Product Manger Autodesk Frank Schley Development & Pilot Projects Ed. Züblin.
© 2011 Autodesk Publish Autodesk® Inventor® Building Components for Consumption in AutoCAD® MEP and Revit® MEP Jay Ayala Solutions Engineer.
© 2012 Autodesk From CAD to Awesome: AutoCAD® and Autodesk® SketchBook® Designer Guillermo Melantoni Product Line Manager: Personal Design & Fabrication.
The Point For Coordination Module 1: Setting The Survey Point
Managing the Construction Administration Phase in Autodesk® Revit®
Civil 3D®: An All Around Geospatial Software Package
Are You STILL Not Using AutoCAD® Civil 3D ®?
Water! Water! Quenching Your Thirst for Water in AutoCAD® Civil 3D®
Step it up a Rung from AutoCAD® Designs to AutoCAD® Electrical (MA4762-L) Todd Schmoock Solutions Engineer - Synergis Technologies, Inc.
Autodesk® Revit® Rendering Tips You Can Use
Creating Intelligent Details in Autodesk® Revit®
Check Out These ‘Suite’ Workflows
Using Scripts, AutoLISP® and
Using Quantity Takeoff and Linked Models in Revit to Estimate a Project as the Design Changes Kevin R. Miller, Brigham Young University Scott Davis & TJ.
CM1847 Migrating AutoCAD Standards to Revit
Are Your Buildings Floating in the Air
Autodesk Navisworks: Practical Tips and Tricks from Seven Years in the Construction Industry Josh Lowe Project Lead, TURIS Systems.
BIM for Interiors: Making Autodesk® Revit® Work for You
MP1483 Massing and using Architecture Models for Revit MEP 2013 Analysis Simon Whitbread Application Specialist.
The Family Lab Harlan Brumm Product Support Technical Lead.
Using Quantity Takeoff and Linked Models in Revit to Estimate a Project as the Design Changes Kevin R. Miller, Brigham Young University Scott Davis & TJ.
Beyond Massing: Conceptual Design in Autodesk® Revit® Architecture 2012 David Fano Partner | CASE Design, Inc |
Presentation transcript:

© 2011 Autodesk Managing Your AutoCAD®/RealDWG® Model Memory Footprint for Better Performance Bill Adkison MarinCAD Software Engineering CP4286-U November 29, 2011

© 2011 Autodesk Unconference Topic Suggestions  Topics You All have in Mind  Fragmentation  Large 3d models  Managing dependencies .NET vs. ARX/Native vs LISP  Topics Bill has in Mind  The End of the 32-bit Era (almost)  DWG Database Memory Overhead  Differing Memory Characteristics of different AutoCAD Visual Styles  Use of AcDbDatabase::reclaimMemoryFromErasedObjects(AcDbObjectIdArray)  The Advantages and Disadvantages of Disabling UNDO recording  XData versus AcDbObject::extensionDictionary  One-Shot allocation of Huge Arrays

© 2011 Autodesk Fragmentation, Large Models  32-bit OS: 2Gb or 3Gb limit is the real ceiling, but ragmentation within that space in the process will slow down performance before the final limit  Even on 64-bit systems, ACAD going over ~6Mb starts slowing down a lot  Large Models:  PartialOpen with index structures is a good way to filter DWG content and memory  Use INDEXCTL to create spatial and layer index structures  Partition DWGs into Xrefs with Demand Loading  XREF Clipping (XCLIP)

© 2011 Autodesk.NET vs Native ARX vs LISP .NET is usually not a memory hog, unless you open a lot of objects simultaneously  LISP is a LOT of overhead, but can be useful anyway for prototyping.  VLX (building a compiled LISP app) is a good way to eliminate a lot of overhead

© 2011 Autodesk End of 32-Bit PC Era (almost)  Migrating to x64 is good short term, and long term solution  32-bit apps on x64 OS can save some memory, some performance cost  AutoCAD doesn’t support x86 on x64OS, but it can be done with registry hacks ( me for details, I have to learn them for a client anyway).

© 2011 Autodesk AcDbDatabase Object consumption  Big DWGs commonly have:  ~10^4 - 10^6 entities (i.e. 99% of the memory)  ~10^3 – 10^5 Symbol Table Records and XDict entries (still big, but not the typical problem)  Overhead of:  bytes per handle/ObjectId + GS Spatial Index  bytes per Entity Common Fields  >1Mb bytes per Entity

© 2011 Autodesk Different AutoCAD Visual Styles  2D or not 2D, That Really is the Main Question  All non-2DWireframe modes have a common 3d GS  2D is good for:  Model graphs with unshared nodes and static 3D viewing.  Legacy appearance (relatively uncommon, but significant)  Session with heavy document locking processing (3D Gs triggers often)  Others are good for:  Model Graphs with shared and/or dynamic 3D viewing  Advanced rendering modes  Mem Diff: SharedNodeDwg (1024 refs to 1 block): 2D – 1.2Gb == 3D

© 2011 Autodesk AcDbDatabase::reclaimMemoryFromErasedObjects  Intended for scenarios repeatedly adding/erasing entities.  ~16 bytes residual per entity, out of 200b – 2Mb per entity  Slightly better with UNDO disabled, but not much

© 2011 Autodesk Disabling UNDO/REDO  Very Safe by Command Line  Not Very Effective for “common” operations with efficient UNDO recording  Very Dangerous by API  Disabling for specific database ops Must be self-contained

© 2011 Autodesk XDATA vs extensionDictionary/XRECORD  XDATA has lower overhead, about 48 bytes, plus 32 bytes per RegApp section, then very efficient. But a 16Kb limit for XDATA per object, and you need to share with other apps.  extensionDictionary is about 100 bytes of overhead, plus 100 bytes per added object. But after that, there are no capacity limits other than file size and memory size.

© 2011 Autodesk Autodesk, AutoCAD* [*if/when mentioned in the pertinent material, followed by an alphabetical list of all other trademarks mentioned in the material] are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and/or other countries. All other brand names, product names, or trademarks belong to their respective holders. Autodesk reserves the right to alter product and services offerings, and specifications and pricing at any time without notice, and is not responsible for typographical or graphical errors that may appear in this document. © 2011 Autodesk, Inc. All rights reserved.