Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

insuffisant memory with macro!

Status
Not open for further replies.

mouha

Computer
Joined
Dec 8, 2003
Messages
16
Location
CA
Im executing macro on CATIAV5R11, and this takes many hours to be executed completely. but befor the end, the computer shows me a message: insuffisant memory. the probably cause of this is that CATIA keep on memory all the steps made by this macro, so is there any one who know if I can change some options to ovoid this problem.
thanks.
 
Look at your cache settings.
Also does the script run okay on a smaller product.
Look at your code and see if there are any ways that you can stream line it.
Check to see if you are re setting parameters inside a loop that does not need to be.
See if you can use Search commands instead of loops for selecting geometry.
I used this technique in one my scripts and it greatly increased the speed that it ran.
 
thanks puck,
my code is ok, but what do you mean by cache setting, I kept my default setting of CATIA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top