[Opensim-dev] Effect of entries in [Modules] in OpenSim.exe .ini files

Justin Clark-Casey jjustincc at googlemail.com
Wed Nov 20 00:17:50 UTC 2013


This is not ideal since classes are being added which will never be used.  However, if these classes are never 
instantiated, the effect on memory usage will be minimal.

I don't know exactly how the [Modules] config parameters are working, but it would make much more sense for 
OpenSimulator to decide which modules are enabled rather than relying on the modules to detect this for themselves.  The 
latter approach is potentially inconsistent and vulnerable to bugs in modules.

On 19/11/13 10:08, Ai Austin wrote:
> In looking closely at the console logs for testing the .NET 4.0 setup I happened to notice the Physics and meshing
> engines module load messages... on the openvue Grid since I have BulletSim and Meshmerizer enabled this gave...
>
> [PHYSICS]: Added meshing engine: ZeroMesher
> [PHYSICS]: Added physics engine: basicphysics
> [PHYSICS]: Added physics engine: BulletSim
> [PHYSICS]: Added meshing engine: Meshmerizer
> [PHYSICS]: Added physics engine: OpenDynamicsEngine
> [PHYSICS]: Added physics engine: POS
> [PHYSICS]: creating meshing engine Meshmerizer
> [PHYSICS]: creating BulletSim
>
> What is the effect of "Adding" something that is not going to be used?  Does it actually do anything and make the
> process image larger unnecessarily.
>
> Seeing this reminded me that the Diva distribution has specific [Module] section module disable lines included.  Should
> we all be doing this to improve our setups?  And is there somewhere that the Added module, Creating module and the
> effect of Setup_Modulename = "disabled" is documented?
>
> [Modules]
>
>      ;; The following directives are to prevent these not-enabled modules
>      ;; from being instantiated. If you change the default service connectors
>      ;; of your D2 above, you should make sure the modules you use are not
>      ;; disabled here.
>
>      ...
>      Setup_CenomeMemoryAssetCache = "disabled"
>      Setup_CoreAssetCache = "disabled"
>      Setup_GlynnTuckerAssetCache = "disabled"
>      ...
>      Setup_SimianProfiles = "disabled"
>      Setup_SimianUserAccountServiceConnector = "disabled"
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>


-- 
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc



More information about the Opensim-dev mailing list