Re: Is there a way to manually trigger GC?
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@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 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Is there a way to manually trigger GC?
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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Printing borked for LC Linux?
I've been printing almost exclusively to PDF for the last several years, but this morning I wanted to print to actual paper, and found that LC doesn't print from Ubuntu. There's nothing in the result after the print command, so LC thinks it's doing fine. And I can print from any other app on the same machine, just not LC. This report for Linux Mint seems perhaps relevant: https://quality.livecode.com/show_bug.cgi?id=21131 But it's from nearly three years ago - has printing been completely broken in the LC Linux engine for years and so few noticed? Any of you able to print from LC in Linux? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: opened socket in IDE prevents script changes
Look in the script editor breakpoints tab. If there are any there delete them. Just spitballing. Bob S On Jan 16, 2021, at 7:10 AM, Bernard Devlin via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Hi Bernd Thanks for the suggestion. But I think the evidence points away from this. One thing I've done is - change the script (could be just addition of a comment) - copy entire script - apply & close - re-open script editor --> *change is missing* - close IDE - re-open LC - open stack script in editor - delete entire script - paste script from clipboard - apply & close - re-open script editor --> *change is now there* As soon as I open a socket, back to the situation that where script changed, apply etc. does not take. And closing all sockets does not work (although there is always one socket left open, which I believe is a socket the IDE creates in the background). I'm working on the assumption that it's something to do with the way I'm reading/writing to the socket. It's definitely strange. But if I can get to the bottom of this it will help others. The weird thing is that everything is working with the socket communications, no script or runtime errors thrown by LC, yet this working app breaks the IDE in the sense that LC is no longer a dynamic scripting environment (for me anyway). It's important to get to the bottom of this as it makes LC look bad, especially the numerous crashes, which all seem to be related to setting breakpoints in the script editor to try and get to the bottom of what was not working. At least on OSX I'm getting crash logs in the console. Strangely the crash errors are not all the same. Regards Bernard ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: mobileControlCreate (set, do, etc)
Another idea is to place a graphic where you want the object to be in the IDE so that you can “see” it and then use the rect of the grc to set the rect of the mobile control. I will echo building a smaller test stack. My mobileDemo stack doesn’t take anywhere near that long to build. Sent from my iPhone > On Jan 16, 2021, at 8:12 AM, Mark Smith via use-livecode > wrote: > > Hi Sannyasin, > > Two suggestions. Could you build a small test stack to test your idea and > refine it? Not sure of your hardware, but that might be faster to load than a > larger, more complicated application. Also, the simulator might be another > possible option to speed things up while testing? > > Cheers, > Mark > > >> On Jan 16, 2021, at 3:56 AM, Sannyasin Brahmanathaswami via use-livecode >> wrote: >> >> How in this done on desktop? It takes 15 minutes to build a standalone on >> iOS. Do we have make adjustments the mobile controls. AND then do another >> standalone. >> >> This would intro a Big factor in time development. >> >> BR >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: opened socket in IDE prevents script changes
Hi Bernd Thanks for the suggestion. But I think the evidence points away from this. One thing I've done is - change the script (could be just addition of a comment) - copy entire script - apply & close - re-open script editor --> *change is missing* - close IDE - re-open LC - open stack script in editor - delete entire script - paste script from clipboard - apply & close - re-open script editor --> *change is now there* As soon as I open a socket, back to the situation that where script changed, apply etc. does not take. And closing all sockets does not work (although there is always one socket left open, which I believe is a socket the IDE creates in the background). I'm working on the assumption that it's something to do with the way I'm reading/writing to the socket. It's definitely strange. But if I can get to the bottom of this it will help others. The weird thing is that everything is working with the socket communications, no script or runtime errors thrown by LC, yet this working app breaks the IDE in the sense that LC is no longer a dynamic scripting environment (for me anyway). It's important to get to the bottom of this as it makes LC look bad, especially the numerous crashes, which all seem to be related to setting breakpoints in the script editor to try and get to the bottom of what was not working. At least on OSX I'm getting crash logs in the console. Strangely the crash errors are not all the same. Regards Bernard On Fri, Jan 15, 2021 at 5:28 PM Niggemann, Bernd via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Bernard, > > I have seen similar behavior of the apply button indicating "clean" when > the script was "dirty"/had compile errors. That was without sockets. > > https://quality.livecode.com/show_bug.cgi?id=22555 > > maybe your problem is related > > Kind regards > Bernd > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: mobileControlCreate (set, do, etc)
Hi Sannyasin, Two suggestions. Could you build a small test stack to test your idea and refine it? Not sure of your hardware, but that might be faster to load than a larger, more complicated application. Also, the simulator might be another possible option to speed things up while testing? Cheers, Mark > On Jan 16, 2021, at 3:56 AM, Sannyasin Brahmanathaswami via use-livecode > wrote: > > How in this done on desktop? It takes 15 minutes to build a standalone on > iOS. Do we have make adjustments the mobile controls. AND then do another > standalone. > > This would intro a Big factor in time development. > > BR > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode