Hello,
I have a program that takes street centerline data and works to combine however many smaller segments into one single segment. This is done so that when I go to highlight this segment (using MapXtreme) on the map, I do not have to deal with say 75 segment features, and instead only 1 segment feature.
My issue is that as I process this using MapInfo version 15 (32-bit) I have no issues and the code runs from start to completion without the memory breaking 2GB. (Keep in mind, I am running this code for over 2,500 towns one-by-one).
Ever since I have tried to use MapInfo 64-bit in any fashion, the memory grows and grows, and eventually the MapInfoPro.exe process ID must be killed and start over in order for my code to work.
- I have found that MapInfo Pro (64-bit) v 2021.1 launches process MapinfoPro.exe and uses a base memory of 245,000 K.
- Next, as my code begins to process, it seems to be where I am marking the layer to edit, and then combine segments together, where the memory grows and grows. (The code steps are below):
- SELECT * FROM TownStreets INTO CombineAllThese
- Map From CombineAllThese
- Set Map Layer 1 Editable On
- SELECT * FROM CombineAllThese
- Objects Combine Data Streetname=Streetname,Lt_from=sum(Lt_from),Lt_to=sum(Lt_to),Rt_from=sum(Rt_from),Rt_to=sum(Rt_to)Source=Source
- Close Table CombineAllThese
- Commit Table TownStreets
- Pack Table TownStreets data
- Close All
I had this memory bug logged by support years ago; however, nothing ever came about with it being fixed. I am still having it happen when using MapInfo Pro version 2021.1. Here are my notes below if anyone from Precisely Support reviews this thread:
- They filed an official "bug" (or as they call Issue Number) as: "MCS-5942"
- Greg, the support person on the phone, also gave me another internal MI Tech Support Bug #: "MIPRO-102490"
My goal is to solely use MI Pro 2021.1 (64-bit); however, if I can't rely on it to process data, then I have to keep my MI Pro v15.0 (32-bit) still on my workstation to get the job done.
If anyone else has any insight or help they could offer that I could try, I would greatly appreciate it.
Thank you for your time.
------------------------------
Nicholas Evanish
------------------------------