[osgi-dev] Monitorable PID length

2011-11-17 Thread chris . gray
Hi there, In 119.2 compendium, Version 4.2 I read that the length of the monitorable-pid must fit in 32 bytes when UTF-8 encoded. (Given that all the characters allowed in the symbolic-name syntax encode as one byte, this would appear to mean that the length is limited to 32 characters).

[osgi-dev] Question about Memory Usage per Bundle

2011-11-17 Thread masti whoknows
Hi,   I am using OSGi to create a plug play framework. My goal is to measure how much memory each bundle is using. Is there a way to do this dynamically when the bundle is loaded/started? Please note I don't want to use any external tools. I want to do it while the system is running.     

Re: [osgi-dev] Question about Memory Usage per Bundle

2011-11-17 Thread BJ Hargrave
How do you define how much memory a bundle uses? It is generally not possible to do this unless you have a very specific definition of memory use. Bundles can extend classes imported from other bundles. Bundles can call other bundles which allocate memory for the caller. To which bundle does