Professional Documents
Culture Documents
com/support
Introduction
Generation of drawing views requires loading of all the related 3D documents. Memory consumption increases due
to loading of both 2D and 3D data. This document will help users identify and manage such memory allocation issues
effectively through some best practices used in generative drafting workbench. It gives information on generative
drafting memory management according to the scenario, the options, and the processed 3D data. The aim is to help
users to choose the best memory saving methodology according to their needs.
Contents
Introduction .........................................................................................................................................................2
Part 1. Diagnosis of Memory Problem in Generative Drafting.................................................................................4
Part 2. General V5 Options to Reduce Memory Consumption.................................................................................6
1.
2.
3.
CATIA crashes with or without any warning message. Abend trace (generated in the CATTemp directory) file contains
some information related to the memory usage, such as malloc failed.... In the Stack Trace of Abend trace the
memory percentage more than 70-80% also indicates memory exhaustion problem. Refer to the image below.
In some cases, Memory problem may lead to a CPU loop. A CPU loop means that the CATIA session is/seems to be
frozen. CPU is used at 100% and action requested by the CNEXT process may not be executed.
Memory Warning: Warning message appears as per the trigger set by user in tools- options.
This popup warns that because the amount of remaining memory is becoming low, user should save your data and
exit the session:
Exact
Approximate
CGR
Raster
2. De-activate the Fillet representation modes and Generation of Axis-lines/Center-Lines/Threads if not needed.
This prevents the generation of the above elements in the views. Hence memory required for view generation is
reduced.
3. If hidden line representation is not asked, and many instances or bodies are hidden by other, use the "Enable
occlusion culling" option. This will load only the parts which will be seen in the resulting view (instead of loading all
of them, which is the case by default), which optimizes memory consumption and CPU usage.
4. Option "Only generate parts larger than" can be used to filter the smallest instances inside the whole product
structure, if there is no need to load them.
10
Approximate
Approximate views are not as high in precision and quality as exact views.
This generation mode dramatically reduces memory consumption. Approximate mode has advantage of
section/breakout view creation. For restriction of approximate mode, please refer to the documentation.
CGR
CGR views are not as high in quality as exact views, but they consume much less memory during the generation. This
may be useful when dealing with sophisticated products or assemblies involving large amounts of data.
Raster Mode
Raster mode consumes very little memory. They do not load the parts in design mode. Use Raster mode to get a 2D
geometry image if only an overview is needed. Sections, dress-up are not possible in raster view. Refer to the
Documentation for more details.
11
C. Miscellaneous
1. For Part Drawings, use Part MML. It means copy the PartBody from the original CATPart. Create a New
CATPart and Paste Special (paste as result with link). Or copy the .CATPart (or .model) document within a
new CATProduct. In both above cases, Geometry specifications of original Part are not needed for View
Creation. Hence Memory is saved.
2. Activate the Technological result for bodies containing threads. Thread generation in views requires loading
the whole .CATPart. Technological Results created in the Part prevent loading of CATPart and thus save
memory.
3. Since 3D data is not unloaded, memory usage increases after creating/updating several views. Save, close
the all documents, and re-open may help to release this memory.
4. Unnecessary data may be loaded in addition by another workbench. Make sure that these data are released
before starting drafting workbench.
5. Starting a new session to execute the drafting scenario guarantees that the minimum number of code
libraries are loaded (no 3D application/workbench additional code).
6. Use the Batch Mode of update to run the update in the background and help user carry on with other
operations on the computer.
12