On 12/2/05, jerry gay <[EMAIL PROTECTED]> wrote: > i'm afraid adding tracing info will bring either system to its knees. > perhaps there's some other way for me to help debug?
Okay, I haven't looked into the source at all, but I have one theory: If Punie now uses Allison's attribute grammar implementation, that may be the culprit (and even if it's not, this is still an issue in the large scheme of things). She ported my Language::AttributeGrammar-0.05 from Perl 5. That version of the module suffered an algorithmic problem (i.e. not just a detail) that would cause it not to free any memory until the whole tree was traversed and all attributes were found. So it's likely that the port suffers the same problem. If there are a lot of attributes, or if those attributes carry large data structures, or just if the tree is big, an attribute grammar traversal could use a heck of a lot of memory. If you're going to dive in debugging, that may be a place to start. Luke