×
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

Patran crashes caused by PCL using too much memory

Patran crashes caused by PCL using too much memory

Patran crashes caused by PCL using too much memory

(OP)
Hello All,

I'm currently writing a routine in PCL to aid in the generation of simple meshes (a pipe/bracket installation). The routine works fine if only a small mesh is asked of it (a pipe with two bends and 5 brackets say). However, when a larger mesh is required (several pipes and 20 brackets say) the routine crashes and the Patran application closes.

I have viewed the memory usage and noticed that the virtual memory used increases each time the routine is run (far beyond what would be expected due to the increase in database size).

Does anyone know of a "clear memory" command, or of any errors that may be in my routine which causes so much memory usage. (I have been careful to ensure all virtual strings and arrays are cleared)

Thanks.

Other info that may be of use:
Application: MSC Patran 2005r2
Operating system: Windows XP Service Pack 2
Script type: Function compiled into library using !!COMPILE

RE: Patran crashes caused by PCL using too much memory

could you attach your example?

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