Re: [mapguide-users] 30 seconds delay after creating +/-100 CreateRuntimeMap calls

2017-02-28 Thread BenSav
Jackie We are using AIMS 2015 at the moment. I'll post a code snippet of what we are trying to do tomorrow when at the office. Thx! [cid:image004.png@01CE52E4.A7D3CDA0] Ben Savelkoul 0494 64 63 73 | ben.savelk...@geosolutions.be GEO Solutions nv, Prins

Re: [mapguide-users] 30 seconds delay after creating +/-100 CreateRuntimeMap calls

2017-02-28 Thread BenSav
Benoit, Thanks for your comment. In fact we are creating the runtime maps server side sending an array of map definitions in the request as you suggest. Now to reduce the load a little bit, I am only doing this for the maps that are to be visible at startup of the application. When the user

Re: [mapguide-users] 30 seconds delay after creating +/-100 CreateRuntimeMap calls

2017-02-28 Thread BenSav
This is the function we are using to create the runtime map, it is called from a for-loop: private void CreateMap(string name, MgMappingService srv) { if (!string.IsNullOrEmpty(name)) { try { _log.Info("Trying to

Re: [mapguide-users] 30 seconds delay after creating +/-100 CreateRuntimeMap calls

2017-03-02 Thread BenSav
Guys, Thanks a lot for the explanation! Appears this was the problem indeed. Now, every time the CreateMap function is executed, I capture the returned object to a variable. Then I call Dispose() on it, and the proble is solved. I'll make sure to check the rest of my code on similar issues.

Re: [mapguide-users] 30 seconds delay after creating +/-100 CreateRuntimeMap calls

2017-02-27 Thread BenSav
Hi Jackie, I do pass the session ID to the CREATERUNTIMEMAP call. I also tried to bump the SessionRepositoriesLimit value, but I've never encountered more than about 20 sessions at a time so that doesn't seem to be the problem. That is about 20 sessions since we haven't gone to production yet.