APAR status
Closed as program error.
Error description
Memory use increases rapidly when animating products in presence of section. . Scenario 1)Extract the sample CATIA documents attached to the case. 2)Extract the sample CAA workspace attached to the case. Build the workspace at level V5R18SP5 with Visual Studio 2005 for 32-bit Windows. 3)Start CATIA from the sample workspace. 4)Change the workbench to the one defined in the sample workspace: Start > Digital Mockup > SDS Standard User 5)Open ?__CATProduct22.CATProduct? from the documents extracted at step 1. 6)Use the workspace command that moves sub- products in an animation: a)Select the motion frame player icon: b)Press the play forward icon: 7)Open the Task Manager or the Microsoft Management Console to observe the memory consumed by CATIA while the animation proceeds. On my workstation and using MMC I observe an increase in program memory of about 2.5 Mbytes per second . Result:Excessive growth in process memory. . If you replay the scenario and if you do the following, then the problem is not reproducible: . 1)Extract the sample CATIA documents attached to the case. 2)Extract the sample CAA workspace attached to the case.Build the workspace at level V5R18SP5 with Visual Studio 2005 for 32-bit Windows. 3)Start CATIA from the sample workspace. 4)Change the workbench to the one defined in the sample workspace: Start > Digital Mockup > SDS Standard User 5)Open ?__CATProduct22.CATProduct? from the documents extracted at step 1. 5.a).****NEW STEP: delete the feature "Section.1" (which is under CATProduct22-->Applications-- >Sections) 6)Use the workspace command that moves sub- products in an animation: 6.a)Select the motion frame player icon: 6.b)Press the play forward icon: 7)Open the Task Manager or the Microsoft Management Console to observe the memory consumed by CATIA while the animation proceeds. . This scenario is the same as the original except the new step (5.b) was added. .
Local fix
Problem summary
Memory use increases rapidly when animating products in presenc e of section Memory use increases rapidly when animating products in presence of section. . Scenario 1)Extract the sample CATIA documents attached to the case. 2)Extract the sample CAA workspace attached to the case. Build the workspace at level V5R18SP5 with Visual Studio 2005 for 32-bit Windows. 3)Start CATIA from the sample workspace. 4)Change the workbench to the one defined in the sample workspace: Start > Digital Mockup > SDS Standard User 5)Open ?__CATProduct22.CATProduct? from the documents extracted at step 1. 6)Use the workspace command that moves sub- products in an animation: a)Select the motion frame player icon: b)Press the play forward icon: 7)Open the Task Manager or the Microsoft Management Console to observe the memory consumed by CATIA while the animation proceeds. On my workstation and using MMC I observe an increase in program memory of about 2.5 Mbytes per second . Result:Excessive growth in process memory. . If you replay the scenario and if you do the following, then the problem is not reproducible: . 1)Extract the sample CATIA documents attached to the case. 2)Extract the sample CAA workspace attached to the case.Build the workspace at level V5R18SP5 with Visual Studio 2005 for 32-bit Windows. 3)Start CATIA from the sample workspace. 4)Change the workbench to the one defined in the sample workspace: Start > Digital Mockup > SDS Standard User 5)Open ?__CATProduct22.CATProduct? from the documents extracted at step 1. 5.a).****NEW STEP: delete the feature "Section.1" (which is under CATProduct22-->Applications-- >Sections) 6)Use the workspace command that moves sub- products in an animation: 6.a)Select the motion frame player icon: 6.b)Press the play forward icon: 7)Open the Task Manager or the Microsoft Management Console to observe the memory consumed by CATIA while the animation proceeds. . This scenario is the same as the original except the new step (5.b) was added. .
Problem conclusion
THIS PROBLEM WILL BE FIXED ON CATIA VERSION 5 RELEASE 20 GA LEVEL. NOTE THAT THIS PROBLEM WILL ALSO BE FIXED ON V5R19SP05 During the replay of the simulation, numerous objects are created at each step. We succeeded to delete some of them, but the others are required to update and visualize the section at each step of the replay. Moreover, for technical reasons, these objects remain in memory until the document is open. The combined effect of all this is that the memory consumption increases as the replay progresses. From doing this improvment, we got 50% reduction in memory consumption for move scenario. As the remaining objects are deleted when the document is closing, a by pass could be to add the call of the following method in the "PPRFrmStdPlayerCmd" class constructor. //---------------------------------------------------------- ------------------- // ReopenDocument() //---------------------------------------------------------- ------------------- HRESULT PPRFrmStdPlayerCmd::ReopenDocument () { HRESULT RC = E_FAIL; CATFrmEditor * pFrmEditor = CATFrmEditor::GetCurrentEditor(); if (NULL != pFrmEditor) { CATDocument * pDocument = pFrmEditor -> GetDocument(); if (NULL != pDocument) { CATUnicodeString DocumentStorageName = pDocument -> StorageName (); CATSession * pSession = CATSession::GetPtrSession(); if (NULL != pSession) { CATIIniInteractiveSession * pIniInteractiveSession = NULL; if (SUCCEEDED(pSession -> QueryInterface(IID_CATIIniInteractiveSession, (void **)&pIniInteractiveSession))) { CATIEditor_var spEditor = pDocument; RC = pIniInteractiveSession -> Close (spEditor); CATIEditor * pEditor = NULL; if (SUCCEEDED(RC)) RC = pIniInteractiveSession -> Open (DocumentStorageName, FALSE, &pEditor); pIniInteractiveSession -> Release(); pIniInteractiveSession = NULL; } } } } return RC; } .
Temporary fix
Comments
APAR Information
APAR number
HD78532
Reported component name
CATIA V5 NT>XP
Reported component ID
569151000
Reported release
518
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2008-10-07
Closed date
2009-06-04
Last modified date
2009-06-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
CATIA V5 NT>XP
Fixed component ID
569151000
Applicable component levels
R518 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSVJ2K","label":"CATIA"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"518","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
04 June 2009