The hole doesn't exist in version 5.5, exists in version 6, hopefully it
will be gone by version 6.5 (although it still gave me problems on the
version that I tried).

Seems to be it has a lot to do when you reuse an object variable many times
(in my case > 1 million), such as when you have a function that you create
an object variable.

You can avoid the problem if you can do the calculations as selections and
queries that return data using Mapbasic functions, rather than creating a
objects and doing operations using object variables.

Contrary to other suggestions, I found that the memory was not released
until you shut MapInfo down.  Closing the tables did not help. You can check
this using the system tools.

Hope it helps.
R

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Markus
Lindner
Sent: Friday, 20 April 2001 4:44 PM
To: Chiel Roovers; [EMAIL PROTECTED]
Subject: Re: MI-L Memory collapse running MapBasic program


Chiel,

i ran into the same problem, and the only way
was to split up the Program running the first 500000 rows,
then restart mapinfo, running the next rows...


Seems to be a memory hole there in mapinfo,

Regards,

Markus


----- Original Message -----
From: Chiel Roovers <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 4:43 PM
Subject: MI-L Memory collapse running MapBasic program


> Hello,
>
> While running a self-made MapBasic program which, in a for..next loop,
> calculates AreaOverlaps of numbers of regions, my PC crashes not having
> completed the task completely. Is there a way of telling MI to "clean-up"
> the registered memory during my calculation loops?
>
> Regards,
>
> Chiel Roovers,
>
> Netherlands
>
>
>
> ~~~~~~~~~~~~ List Sponsor ~~~~~~~~~~~~
> Digital GEO data for 125 countries
> LAND INFO International produces digital geographic data for over 125
> countries.   DEMs, satellite imagery, topo maps, vector map layers,
> flood maps, and more.   Visit http://www.landinfo.com/indexdm1.htm and let
> our specialists find the right solution.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> _______________________________________________________________________
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, send e-mail to [EMAIL PROTECTED] and
> put "unsubscribe MapInfo-L" in the message body.
>


~~~~~~~~~~~~ List Sponsor ~~~~~~~~~~~~
Digital GEO data for 125 countries
LAND INFO International produces digital geographic data for over 125
countries.   DEMs, satellite imagery, topo maps, vector map layers,
flood maps, and more.   Visit http://www.landinfo.com/indexdm1.htm and let
our specialists find the right solution.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to