Re: [Ironpython-users] How to free memory in ironpython

2016-11-09 Thread Slide
Your python code is different from what the C# code does: utils = MapWinGIS.*UtilsClass*() osm_filePath = "C:\\rome.osm" shps_filePath = "C:\\rome_sph_files" bstrOptions = '--config OSM_USE_CUSTOM_INDEXING NO -skipfailures -f "ESRI Shapefile"' convertToShapefiles_Result = MapWinGIS.UtilsClass.*OGR

Re: [Ironpython-users] How to free memory in ironpython

2016-11-09 Thread Djordje Spasic via Ironpython-users
Hi Steve, Thank you for the reply. This is the C# code sent to me by one of the developers. He calls the OGR2OGR method only once per script, but when he tries to call the script again, it works with no problem. Which is not the case on my PC: GlobalSettings settings = new GlobalSettings();se