I think the libxml2/iconv libraries are only required by SDO.
Factoring SDO out of SCA implementation would require some substantial
rework as we use SDO for parsing and loading our xml configuration
files. Altering the way we do this would require a new method of
parsing the files which again may use libxml or some other parsing
libraries.

On 31/12/2007, Philipp Konradi <[EMAIL PROTECTED]> wrote:
> Hi Andy,
>
> The memory footprint gets reduced from 6.7MB to 5.3MB if axis/axiom dlls are
> taken out.
> Assumed the dependancy to SDO gets configurable then the footprint can be
> reduced at least by further 0.7MB --> 4.6MB.
> Unfortunately still too much.
>
> Libxml2 and iconv dlls hold another bigger memory saving potential of
> 0.9MBeach.
> Assumed both can be replaced by some leaner alternatives then we would get
> much closer to the 2MB border.
> Any idea regarding how difficult that might be? Any other thoughts?
>
> Speaking of Embedded Domains I have a particular application in mind.
> It's a large distributed system consisting of many controllers communicating
> with each other. These controllers are usually small software pieces running
> in a device and managing several sensors/actors or other controllers.
> What we are currently looking for is an platform ideally:
> - allowing to inject dependencies and to compose such controllers out of
> smaller components
> - allowing to separate communication details from business logic
> - allowing some flexibility regarding communication protocols to use
> Tuscany SCA Native is one of the candidates we evaluate right now regading
> meeting the non-functional requirements. Memory footprint seems to be one of
> the biggest barriers.
>
> Regards,
> Philipp
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Andrew Borley [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 20. Dezember 2007 10:33
> An: [email protected]
> Betreff: Re: [C++] Decrease memory footprint of Tuscany Native?
>
> Hi Philipp,
>
> The axis2 stuff in the native codebase is purely to support the Web
> Service binding - you shouldn't need those DLLs to run the
> CPPCalculator as this sample no longer does any web service calls.
> The SDO, libxml, etc dlls are still required as these are used within
> sca for message propagation - but perhaps, in the future, they
> shouldn't be.. (SDO should perhaps be a configuarble data-bainding ,
> as in the java codebase). Embedded Domains sounds like an interesting
> scenario for Tuscany, could you expand?
>
> I'm not sure what the scope for reducing memory footprint would be -
> what happens if you take out the axis/axiom dlls?
>
> Cheers
> Andy
>
>
> On Dec 19, 2007 11:26 PM, Philipp Konradi <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > currently I'm investigating on usability of Tuscany SCA
> > Native in Embedded Domains.
> > One of the important requirements there is small memory footprint.
> > Starting the CppCalculator (local service invocation) I found out that it
> > requires currently ca. 6MB.
> > In the list of loaded dlls I saw axis2, axiom, sdo and some more
> libraries.
> >
> > My question now is: Is it possible to significantly decrease the memory
> > footprint in a reasonable amount of time/effort? Let's say to 2MB?
> >
> > Maybe some developers of the Native Runtime can help me with some
> > information?
> >
> > Many thanks,
> > Philipp
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-- 
Pete

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to