8.1.6 Indy IDE VERY SLOW
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
8.1.6 Indy IDE VERY SLOW
Greetings,
First time posting, but have been scripting professionally since Hypercard, Metacard, Supercard, Runrev, Livecode. For the first time I cannot figure this one out on my own.
Updated from 7.x to 8.1.6 recently as I wanted the browser widget and built in Telnet library for sFTP communication (Although it works well, was disappointed that communication is blocking in my paid version.)
I am 2 years into a project that assists water and wastewater operators with regulatory reporting, scheduling and asset management. The problem:
The 8.1.6 IDE grows increasingly slower over time. About 20 minutes of coding and interface work and the IDE becomes so slow it is painful. The code editor starts missing keystrokes, After return on a line it takes seconds for the cursor to reappear. Simple click selection of controls takes seconds to become focused. Nudging a few controls takes so long you think its locked up. Menu selecting "Edit Script" takes 5 to 10 seconds. Yes the processor load ramps above 50% to the point every fan is full speed. A peek at the task manager shows no other processes being hoggish.
A co-programmer working on the same project in another office experiences identical extreme slow down over a short time on his gaming laptop.
Hardware: Intel i5-4210U at 2.40 GHz. 8 GB RAM, 64 bit
System: Windows 10 Pro 64 bit
Project: 6 stacks consisting of ~6000 lines of code. Every stack <2000 lines of code across several objects.
Project runs very fast and efficient after compile
Hoping there is something other than reverting to 7 to fix this.
Doug Smith
Envirence Software
First time posting, but have been scripting professionally since Hypercard, Metacard, Supercard, Runrev, Livecode. For the first time I cannot figure this one out on my own.
Updated from 7.x to 8.1.6 recently as I wanted the browser widget and built in Telnet library for sFTP communication (Although it works well, was disappointed that communication is blocking in my paid version.)
I am 2 years into a project that assists water and wastewater operators with regulatory reporting, scheduling and asset management. The problem:
The 8.1.6 IDE grows increasingly slower over time. About 20 minutes of coding and interface work and the IDE becomes so slow it is painful. The code editor starts missing keystrokes, After return on a line it takes seconds for the cursor to reappear. Simple click selection of controls takes seconds to become focused. Nudging a few controls takes so long you think its locked up. Menu selecting "Edit Script" takes 5 to 10 seconds. Yes the processor load ramps above 50% to the point every fan is full speed. A peek at the task manager shows no other processes being hoggish.
A co-programmer working on the same project in another office experiences identical extreme slow down over a short time on his gaming laptop.
Hardware: Intel i5-4210U at 2.40 GHz. 8 GB RAM, 64 bit
System: Windows 10 Pro 64 bit
Project: 6 stacks consisting of ~6000 lines of code. Every stack <2000 lines of code across several objects.
Project runs very fast and efficient after compile
Hoping there is something other than reverting to 7 to fix this.
Doug Smith
Envirence Software
Doug Smith
Envirence Software
Envirence Software
Re: 8.1.6 Indy IDE VERY SLOW
Hi Doug,
welcome to the forum!
Could you please try version 8.1.8? They fixed a lot of things there.
Get this and any other version of LC here: http://downloads.livecode.com/livecode/
Best
Klaus
welcome to the forum!
Could you please try version 8.1.8? They fixed a lot of things there.
Get this and any other version of LC here: http://downloads.livecode.com/livecode/
Best
Klaus
Re: 8.1.6 Indy IDE VERY SLOW
Thank You Klaus!
I hadn't checked back in a while to see the latest stable versions.
Version 8.1.8 is much better in my tests so far. Only anomaly... Typing in the message box is delayed, but I can deal with that.
So now that I have finally registered here, perhaps I can pay it forward and offer help to others if I can.
Happy New Year!
Doug
I hadn't checked back in a while to see the latest stable versions.
Version 8.1.8 is much better in my tests so far. Only anomaly... Typing in the message box is delayed, but I can deal with that.
So now that I have finally registered here, perhaps I can pay it forward and offer help to others if I can.
Happy New Year!
Doug
Doug Smith
Envirence Software
Envirence Software
-
- VIP Livecode Opensource Backer
- Posts: 9802
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: 8.1.6 Indy IDE VERY SLOW
Is that consistent? Do you have a recipe? Ideally the MB should be pretty snappy. So if it's not, we should make it so.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: 8.1.6 Indy IDE VERY SLOW
Working through this evening the delay in MB response is intermittent. Recipe: Seems to be directly after debugger reporting an error in Script debug Mode. I've noticed the debugger is slow in producing the pointer to the error and slow in allowing editing after hitting continue.
Turned off script debug mode and slow MB response has not occurred since? Coincidence?
Initially it was only happening when the Doobie Brothers were playing on ITunes.
Turned off script debug mode and slow MB response has not occurred since? Coincidence?
Initially it was only happening when the Doobie Brothers were playing on ITunes.
Doug Smith
Envirence Software
Envirence Software
-
- VIP Livecode Opensource Backer
- Posts: 9802
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: 8.1.6 Indy IDE VERY SLOW
That seems like a good narrowing-down. Windows-specific optimizations are in progress, but I'm working in Windows more right now on one of my projects and will keep an eye out for things like this. I'll post anything new I see here.dsmithpm wrote: ↑Sat Dec 30, 2017 4:08 amWorking through this evening the delay in MB response is intermittent. Recipe: Seems to be directly after debugger reporting an error in Script debug Mode. I've noticed the debugger is slow in producing the pointer to the error and slow in allowing editing after hitting continue.
Turned off script debug mode and slow MB response has not occurred since? Coincidence?
Try King Crimson and see if that alters the timing.Initially it was only happening when the Doobie Brothers were playing on ITunes.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: 8.1.6 Indy IDE VERY SLOW
I've seen something similar on a Mac, it happens only after debugging. In my case it only affected a drag operation which began to stutter noticeably and sometimes didn't respond at all.
The problem seems to be a backup of pending messages from the IDE. The fix is to open the messages pane in the message box, which seems to clear the backup. You don't have to do anything else, just go to the pane.
If that fixes your problem then a bug report would be in order.
The problem seems to be a backup of pending messages from the IDE. The fix is to open the messages pane in the message box, which seems to clear the backup. You don't have to do anything else, just go to the pane.
If that fixes your problem then a bug report would be in order.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: 8.1.6 Indy IDE VERY SLOW
Thank you Jacque,
Interesting. I repeatedly, purposefully injected an error in the code, not that I don't unintentionally often enough, with script debug mode on. And performed various tasks such as nudging objects, typing in the message box, moving controls etc. after continuing from the debugger trap, and noticed marked sluggishness in each succeeding task. The slow down seems to last 10 to 15 seconds and then clears.
In subsequent tests I immediately clicked on pending messages in the message box as you suggested and pending messages apparently flushed right away. The sluggishness thereafter gone until another error was trapped.
At least I know how to restore normal response time now.
Is this something I should send as a bug report?
Thanks Again
Interesting. I repeatedly, purposefully injected an error in the code, not that I don't unintentionally often enough, with script debug mode on. And performed various tasks such as nudging objects, typing in the message box, moving controls etc. after continuing from the debugger trap, and noticed marked sluggishness in each succeeding task. The slow down seems to last 10 to 15 seconds and then clears.
In subsequent tests I immediately clicked on pending messages in the message box as you suggested and pending messages apparently flushed right away. The sluggishness thereafter gone until another error was trapped.
At least I know how to restore normal response time now.
Is this something I should send as a bug report?
Thanks Again
Doug Smith
Envirence Software
Envirence Software
Re: 8.1.6 Indy IDE VERY SLOW
I'd say it sounds buggish, since 3 different systems are doing the same thing apparently.
Curious, other than being a laptop, are the other particulars the same/similar, i.e. win10, intel chipset, etc?
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: 8.1.6 Indy IDE VERY SLOW
Yes, please do. Now that we know it's repeatable they can fix it. It looks to me like the message that saves your breakpoints and other debug info to the prefs file is firing too often.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: 8.1.6 Indy IDE VERY SLOW
Good day, I know this is an old post but I am experiencing the exact same issue on LC 9 for Business on Windows. The IDE becomes very slow and resizing large scripts are very unresponsive. Is there something in LC that can be set to improve performance? On MAC I don't have the same issue with the IDE except that debugging and to step through code is slow.
Re: 8.1.6 Indy IDE VERY SLOW
Hi Werner,
LC released version 9.01 RC 1 yesterday and they write:
...
the performance of the IDE on Windows is significantly improved
...
Get it here, at least worth a try:
https://downloads.livecode.com/livecode/
Best
Klaus
LC released version 9.01 RC 1 yesterday and they write:
...
the performance of the IDE on Windows is significantly improved
...
Get it here, at least worth a try:
https://downloads.livecode.com/livecode/
Best
Klaus
Re: 8.1.6 Indy IDE VERY SLOW
Hi Klaus
Thank you, I will try it.
Kind Regards
Werner
Thank you, I will try it.
Kind Regards
Werner
Re: 8.1.6 Indy IDE VERY SLOW
Hi there, Is there anyone using LiveCode Bussiness IDE on Windows for development? I have tried all the latest versions and RC versions and the IDE is getting slower as you develop. It gets to a stage where there is a big lag when editing and typing a script. Even a new script in an existing large development stack. I have tried it on multiple pc's that I use with Visual Studio 2017 and it is only LC that is becoming unusable to develop in. I think there is some memory leak in LC IDE. The longer you use it on a day the slower it becomes. Also debug breakpoints are constantly missed and I have to reset them for the IDE to pick it up, not even going to mention all the other issues like resizing a script window, project browser etc.