I think I isolated problem - it's related to garbage collection. The XML importer is a self installing command. It has a function which reads and parses the XML files and returns the found model and parameter names as 2 single-dimension arrays. The function can only read one file at a time, so I call it in iteration. As each file is read, another function is called to parse the file passing in the 2 arrays by reference along with 2 additional arrays acting as maps to accelerate lookups.
Because the 2 arrays are used through the life of the command, the objects created and allocated for the XML parsing functions don't get released until the command exits - which is immediately following the PPG being closed. Once I rewrote the XML file parser to read all files inline and return the 2 arrays by value, the crashing stopped. Matt From: [email protected] [mailto:[email protected]] On Behalf Of Jeremie Passerin Sent: Thursday, March 14, 2013 6:53 PM To: [email protected] Subject: Re: GridData crashing in PPG? I remember having issue displaying GridData with to much information.. so much issue that I ended up adding two GridData, one that was keeping all the information, and one that was just displaying some of it according to filters. It's in the gear_MirrorAnimation Plugin.

