RuntimeLocalServer.exe never stops

1851
1
08-08-2016 11:05 AM
MichaelKnight
New Contributor II


Hi Guys,

One observation I have made using the 10.1.1 SDK is that when you load an MPK for example the ESRI software spins up a RuntimeLocalServer instance to handle viewing that data. It will do this for each MPK you add to the map as a layer.

When you then remove layers the associated RuntimeLocalServer instance is never teared down until the application closes. If you then re-add  layers you added before it will seemingly reuse an existing  RuntimeLocalServer to service that MPK.

Is this intended behavior? For our needs we are concerned that too many instances of the RuntimeLocalServer may consume too much memory on our clients PC's

Thanks,

Mike

Tags (1)
0 Kudos
1 Reply
nita14
by
Occasional Contributor III

Hi Micheal,

do you stop the service after removing the layer? Do you use stopAsync() method? Can you provide the code?

Regards,

Adam

 

0 Kudos