Does anyone know how the memory usage of a JAXP/Saxon Templates objects scale in relation to the size/complexity of the underlying stylesheet?

In other words, does a 2000-line stylesheet take up twice the memory as a 1000-line stylesheet? My gut is no, but my gut's been wrong before.

I'm seeing some memory consumption issues which may or may not be XSLT-related and before I created some test cases to profile, I thought I'd ask this list to see if anyone has done this type of analysis before.

Thanks,
Justin