Raymond Feng wrote:
Hi,
There may be one possibility. We query all databindings to introspect
data types on a java interface. As a result, if you use the binary
distro which consolidates all of the Tuscany extensions into a jar,
all of databindings on the classpath will be loaded even though they
are registered for lazy instantiation.
To disable undesireable databindings, you can comment out the them in
META-INF/services/org.apache.tuscany.sca.databinding.DataBinding.
Thanks,
Raymond
----- Original Message ----- From: "Chris Lo" <[EMAIL PROTECTED]>
To: <tuscany-dev@ws.apache.org>
Sent: Monday, September 24, 2007 1:53 PM
Subject: Memory Footprint Tuscany 0.99 Inquiry
Hi,
We recently migrated our version of Tuscany from 0.91 to 0.99 in
hopes to
see a reduction on the memory footprint based on the thread started
by my
colleague:
Dynamic registration of databindings, was: 0.91 Memory Footprint
However, we have not seen any difference in terms of the memory
footprint.
Our goal is to only use Axis Stax and avoid any Xerces DOM being use.
I was
looking through the Tuscany jars and was wondering if there is any
configuration needed to tell Tuscany to use Axis Stax. For example, in
tuscany-databinding-0.99-incubating.jar, do I have to modify
org.apache.tuscany.sca.databinding.DataBinding in the META-INF\services\
folder?
Any guidance will be greatly appreciated.
Thanks,
Chris
We need to investigate this. Having all databindings participate in the
introspection of service interfaces defeats the purpose of having a lazy
initialization scheme. But before pointing at databinding issues, let me
ask a few questions to help investigate what's going on...
Could you tell us a little more about your configuration:
- are you running a J2SE program or are you running in a WAR?
- are you using tuscany-sca-all.jar?
- which Tuscany JARs do you have on your classpath?
- are you seeing DOM classes getting initialized? which classes?
Thanks.
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]