Is there a way to manually trigger GC?

Phil Davis phil at pdslabs.net
Sun Jan 17 02:12:56 EST 2021


Hi Tom,

Does hasMemory() have any effect on available memory, or does it truly 
just report the state of things?

I wonder if there is some shell command that might help?

Phil Davis



On 1/16/21 11:31 AM, Tom Glod via use-livecode wrote:
> Hi Folks,
>
> I'm finding my application does a nice job to unload data from memory, but
> it takes a while for that to happen.  When the initial load of the
> application occurs, the memory consumption is quite high if there is lots
> of data to be loaded (1 GB+).
>
> But after a while, the used ram drops down to under 100 mb as the
> application run in the background, after which the application swaps is
> only the data I am accessing.
>
> Can I trigger that memory release manually? (Maybe its another mechanism
> and not GC?!)
>
> TIA
>
>
> Tom Glod
> Founder & Developer
> MakeShyft R.D.A (www.makeshyft.com)
> Mobile:647.562.9411
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>

-- 
Phil Davis
503-307-4363





More information about the use-livecode mailing list