Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Patran crashes caused by PCL using too much memory

Status
Not open for further replies.

Adrian99

Aerospace
Oct 29, 2009
2
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
 
Replies continue below

Recommended for you

Status
Not open for further replies.

Part and Inventory Search

Sponsor