VL-IDE slow

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
atostaine
Posts: 442
Joined: Wed Jan 20, 2016 7:38 am

VL-IDE slow

Post by atostaine » Wed Oct 23, 2019 2:18 am

Latest EPC's, V14SP2, High end PC's, SSD's, etc.

Two identical PC's, the IDE has been getting slower and slower. It can take 30-45 seconds to save a field. Is there any reorg or cleanup we can perform on the PC's?

Thanks, Art
Art Tostaine

LANSAGuru
Posts: 68
Joined: Thu Mar 24, 2016 5:31 am

Re: VL-IDE slow

Post by LANSAGuru » Wed Oct 23, 2019 2:35 am

Art,

Someone told me that putting the power profile to Maximum or High Performance would help here. It seemed to, but on my machine with a local IDE it can seem a bit sluggish depending on what I am doing regardless of this setting.

If for instance you have a VL Web Page with many Views attached (30+) it can take a long time to render and open up and particularly SAVING is very slow. I assume this has to do with saving to the SQL Database and the power settings affect this somehow.

So try setting to power settings to not try and save power and see if that helps at all, and report back here for the benefit of others. I am curious how much this helps others.

Thanks,
Paul

atostaine
Posts: 442
Joined: Wed Jan 20, 2016 7:38 am

Re: VL-IDE slow

Post by atostaine » Wed Oct 23, 2019 3:06 am

I changed to high performance, quick review it's still taking awhile to close a large VL-FORM, no save. Compiles are fast BTW, it's just the IDE.

Hitting the Up button in the details tab is taking over 1 minute while IDE is frozen.
Art Tostaine

soa
Posts: 311
Joined: Mon Dec 07, 2015 3:15 pm

Re: VL-IDE slow

Post by soa » Wed Oct 23, 2019 9:05 am

I am experiencing poorer performance from the IDE over the last couple of release. Often typing a letter to start a command or variable name will cause a lockup of several seconds before it jumps back to life.

atostaine
Posts: 442
Joined: Wed Jan 20, 2016 7:38 am

Re: VL-IDE slow

Post by atostaine » Wed Oct 23, 2019 9:10 am

This has happened to me also. When Hamad did a go to assist it wouldn’t do it.
Art Tostaine

dannyoorburg
Posts: 160
Joined: Mon Jan 04, 2016 9:50 am
Location: Australia

Re: VL-IDE slow

Post by dannyoorburg » Fri Oct 25, 2019 7:50 am

Hitting the Up button in the details tab is taking over 1 minute while IDE is frozen

That can't possibly be acceptable in any way.

It'll have something to do with whatever is open in the IDE at the time. A lot of code runs when the focus moves to a new component. Designer, detailer, outliner and all the ribbon sheets respond to the new focus component.

But that should NEVER take that long. If you can consistently reproduce it I would take it up with support.

Danny

pkoopmanpk
Posts: 24
Joined: Wed Apr 26, 2017 7:12 pm

Re: VL-IDE slow

Post by pkoopmanpk » Fri Oct 25, 2019 8:33 pm

atostaine wrote:
Wed Oct 23, 2019 3:06 am
I changed to high performance, quick review it's still taking awhile to close a large VL-FORM, no save. Compiles are fast BTW, it's just the IDE.

Hitting the Up button in the details tab is taking over 1 minute while IDE is frozen.
That's exactly what we are experiencing. Closing complex forms and reusable parts, with no saving, takes up to 2 minutes. It was driving me crazy.

We did a log with Microsoft tool "Proces Monitor", while closing a large RUP.

There is a lot of communication to the MS SQL Express repository, after which the IDE seems to go to sleep for several seconds. Or it takes the repository a long time to answer.
Attachments
2019-10-25 11_12_22-Window.png
Proces Monitor screenshot
2019-10-25 11_12_22-Window.png (32.96 KiB) Viewed 368 times

atostaine
Posts: 442
Joined: Wed Jan 20, 2016 7:38 am

Re: VL-IDE slow

Post by atostaine » Fri Oct 25, 2019 9:47 pm

Yes. Just closing an RP takes several minutes.

On my customer DEV PC the only other open windows I have are an IBM iACS 5250 session. No browser or anything else.

I’ll submit an incident
Art Tostaine

atostaine
Posts: 442
Joined: Wed Jan 20, 2016 7:38 am

Re: VL-IDE slow

Post by atostaine » Sat Oct 26, 2019 12:45 am

I submitted an incident. Here is the video I sent. Opening an RP is quick, but then closing it takes 30+ seconds.

https://youtu.be/dfP4qmYjSsU
Art Tostaine

atostaine
Posts: 442
Joined: Wed Jan 20, 2016 7:38 am

Re: VL-IDE slow

Post by atostaine » Sat Oct 26, 2019 3:23 am

If you are having this problem please submit it to support. I hear it's a known issue.
Art Tostaine

pkoopmanpk
Posts: 24
Joined: Wed Apr 26, 2017 7:12 pm

Re: VL-IDE slow

Post by pkoopmanpk » Fri Nov 01, 2019 1:12 am

atostaine wrote:
Sat Oct 26, 2019 3:23 am
If you are having this problem please submit it to support. I hear it's a known issue.
Thank you. I submitted our problem to support.

Theo de Bruin
Posts: 9
Joined: Wed Feb 10, 2016 8:41 pm

Re: VL-IDE slow

Post by Theo de Bruin » Fri Nov 01, 2019 4:52 am

- Can you check the ODBC driver version that you use ?
- Is there logging or tracing enabled in your ODBC driver, or in X_LANSA.PRO?

>> It seems the SQL Native client version 11 works better than other ODBC drivers, so I would suggest you to try this out!

pkoopmanpk
Posts: 24
Joined: Wed Apr 26, 2017 7:12 pm

Re: VL-IDE slow

Post by pkoopmanpk » Wed Nov 06, 2019 8:37 pm

The suggestion to use the SQL Native client version 11 is a good start.

The time for the source that took nearly 2 minutes to close with ODBC Driver 11 for SQL server, went down to 40 seconds.
On a second PC with ODBC driver 13, it also went down from 1 minute to 40 seconds.

dannyoorburg
Posts: 160
Joined: Mon Jan 04, 2016 9:50 am
Location: Australia

Re: VL-IDE slow

Post by dannyoorburg » Wed Nov 06, 2019 9:02 pm

Did you talk to support? I'm pretty sure there's a patch available addressing the time it takes to close a component...

Cheers,
Danny

pkoopmanpk
Posts: 24
Joined: Wed Apr 26, 2017 7:12 pm

Re: VL-IDE slow

Post by pkoopmanpk » Wed Nov 06, 2019 9:29 pm

Yes we did, EPC 142060 is on our todo list. :)

atostaine
Posts: 442
Joined: Wed Jan 20, 2016 7:38 am

Re: VL-IDE slow

Post by atostaine » Wed Nov 06, 2019 9:31 pm

Yes we have the patch and it solved the problem closing components.

We still have other slowness issues that I need to submit those
Art Tostaine

LANSAfolks
Posts: 4
Joined: Thu Oct 10, 2019 9:32 am

VL-IDE slow

Post by LANSAfolks » Tue Nov 12, 2019 4:16 am

I am using EPC142040 and also have the same issue where the IDE runs incredibly slow when working with large objects (3000+ lines of code). Also when working with objects that have a large number of dependencies via inheritance etc. What I see is that the CPU core running LANSA.EXE saturates and keeps saturated for long periods of time. In my case, compiles take up to a minute and sometimes more. Closing objects can also take minutes, with the CPU core being saturated all that time. I suspect this issue is a function of the complexity of the components being worked on, as well as something in the IDE that's eating up a lot of CPU cycles.

This slowness is easily recognized in V14SP2, whereas V12 and V13 run much faster. I read that EPC142060 has a solution for closing objects. Has anyone tried that EPC? Is your IDE stable post EPC142060? I still get a LANSA.DMP crash once in a while when opening, closing or compiling objects at EPC142040. So I am curious as to whether EPC 142060 has any IDE stability fixes too?

atostaine
Posts: 442
Joined: Wed Jan 20, 2016 7:38 am

Re: VL-IDE slow

Post by atostaine » Tue Nov 12, 2019 4:42 am

I just installed, EPC142060, the slowness closing is still there. I have a hotfix that worked when I was on EPC142030 but I don't know if I can apply it now that I'm on 142060. I'm going to check with support.
Art Tostaine

atostaine
Posts: 442
Joined: Wed Jan 20, 2016 7:38 am

Re: VL-IDE slow

Post by atostaine » Tue Nov 12, 2019 8:49 am

Support told me the hotfix I have is for EPC 142060. I had it working with EPC142030 but they say that's not supported.
Art Tostaine

LANSAfolks
Posts: 4
Joined: Thu Oct 10, 2019 9:32 am

Re: VL-IDE slow

Post by LANSAfolks » Tue Nov 12, 2019 12:40 pm

OK, so there's a hotfix for EPC142060.
Not keen on installing hotfixes (unless I have to). Will have to wait for the next EPC in this case.
I am much more concerned about the IDE crashes I'm getting at EPC142040. I had at least 3 crashes today at different times e.g. when editing a pop-up menu item, or when changing the screen design of a reusable part.

Post Reply