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
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