×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

insuffisant memory with macro!

insuffisant memory with macro!

insuffisant memory with macro!

(OP)
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.

RE: insuffisant memory with macro!

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.

RE: insuffisant memory with macro!

(OP)
thanks puck,
my code is ok, but what do you mean by cache setting, I kept my default setting of CATIA

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources