SlickEdit Community

Archived Beta Discussions => SlickEdit 201x Beta Discussions => SlickEdit 2014 v19 beta => Topic started by: rozum on August 20, 2014, 11:34:22 PM

Title: Win7x64 B1: Errors observed during background tagging
Post by: rozum on August 20, 2014, 11:34:22 PM
I observed the following errors when my project files were being tagged:
Code: [Select]
Error processing file '<file path and name>': Invalid seek position
Error processing file '<file path and name>': Insufficient memory
Error processing file '<file path and name>': Database index node not valid.


Step To Reproduce
After installing Win7x64 B1,  I
At which point the background tagging started, after a short while, I started to observed the above mentioned errors.  After about 10 minutes SlickEdit became unresponsive and stopped responding.
Title: Re: Win7x64 B1: Errors observed during background tagging
Post by: Dennis on August 21, 2014, 02:40:21 PM
To help me reproduce this, what are all your settings on Tools > Options > Editing > Context Tagging ?

About how many files did you add to the project ?

Was it a wildcard project ?

What language(s) were the source files ?
Title: Re: Win7x64 B1: Errors observed during background tagging
Post by: rozum on August 22, 2014, 01:56:28 AM
Hello Dennis,
Thank you for the assistance.  Attached is an image of the requested Context Tagging settings. 

Some things to note

Additional Info

Unfortunately, at this time I am unable to recreate the original errors I had earlier reported.
Title: Re: Win7x64 B1: Errors observed during background tagging
Post by: rozum on August 22, 2014, 02:25:29 PM
One additional performance observation.   With this huge project, V19  takes about 1 minute to become responsive when it first starts up (e.g., vs).  With V18, it is responsive immediately. 
Title: Re: Win7x64 B1: Errors observed during background tagging
Post by: Dennis on August 25, 2014, 08:08:43 PM
I fixed a race condition that may have been the cause of the original problem you ran into building that tag file.

SlickEdit v19 will outperform v18 with the same settings, which is what you observed (9 minutes vs. 12 minutes).  The 110 minute mark is probably just the difference between the default settings, which are a bit minimal for building a nearly 2G tag file, and your optimized settings (512M tag file cache and 4 threads).

I'll check into the startup performance issue.  Actually, I would have expected v18 to also take a while starting up with that large of a wildcard project in tow.  Did you have the same set of tool windows active with both versions?  Maybe v19 got held up filling in the Project tool window or the Open tool window?
Title: Re: Win7x64 B1: Errors observed during background tagging
Post by: rozum on August 27, 2014, 07:39:04 PM
Hello Dennis,

I have re-verified my previous observation concerning SlickEdit V19 startup performance.

You had mentioned that possibly an Project tool or Open tool window could be contributing the 1+ minute startup delay. 

To remove these unknowns, I closed ALL of the tool windows and file buffers and then re-started SlickEdit V19.   Again, there was a 1+ minute startup delay (due to the huge project being automatically loaded in the background).
Title: Re: Win7x64 B1: Errors observed during background tagging
Post by: Clark on August 29, 2014, 02:05:37 AM
Thanks for catching this. There appears to be some work being done on the main thread which is supposed to be done on a background thread.
Title: Re: Win7x64 B1: Errors observed during background tagging
Post by: Dennis on August 29, 2014, 04:56:24 PM
The editor startup time problem will be fixed in Beta2.
Title: Re: Win7x64 B1: Errors observed during background tagging
Post by: rozum on September 05, 2014, 07:33:26 PM
Hello Dennis,

With respect to the 1+ minute start-up delay.  This has been partially correct in V19B2.  The use-case that was mentioned earlier no longer exhibits a startup delay (thank you for addressing that). 

Unfortunately, if I have the Projects, Defs, Symbols, Open, Class, and Files "Tool Windows" docked and file on in a buffer window, SlickEdit V19B2 is unresponsive for 1+ minutes when it first starts up.   Again in V18, there is no delay.
Title: Re: Win7x64 B1: Errors observed during background tagging
Post by: Dennis on September 08, 2014, 11:13:10 PM
It looks like the time is being spent restoring the open folders in the Project tool window.  I am investigating, and will add an option to not restore the open folders in the Project tool window.
Title: Re: Win7x64 B1: Errors observed during background tagging
Post by: rozum on September 12, 2014, 03:21:51 PM
Hello Dennis,
I know that you are looking into this issue, but I don't know if any fixes made it into Beta 4.   If they have, then unfortunately the use-case I have still has a 1+ minute delay. 
Title: Re: Win7x64 B1: Errors observed during background tagging
Post by: Dennis on September 12, 2014, 09:18:06 PM
The option is in Beta 4.  Go to Tools > Options... > Application Options > Auto Restore and turn off "Auto restore projects tree"
Title: Re: Win7x64 B1: Errors observed during background tagging
Post by: rozum on September 15, 2014, 02:45:05 PM
Thank you Dennis!! I am able to open up the project nicely with the past use-cases.

Unfortunately, the start-up delay occurrs once again if I have the File Tool Windows docked when starting SlickEdit.

Note: This doesn't occur with a V18 project that mirrors the same tag project files.
Title: Re: Win7x64 B1: Errors observed during background tagging
Post by: Clark on September 15, 2014, 03:49:13 PM
When testing v18, did you also have the Files tool window docked.
Title: Re: Win7x64 B1: Errors observed during background tagging
Post by: rozum on September 15, 2014, 07:46:52 PM
Thank you Clark for you assistance in "debugging" this issue by suggesting looking at the docking of the File Tool Window

I was able to recreate the slowdown on V18.  Basically, if the File Tool Window is docked AND unpinned (my default configuration), there is no slow down on V18 when it starts up.  If the File Tool Window is pinned (e.g., opened), then there is a startup slow down. 

In V19, there is a startup delay in both cases.

Note
If after starting V18, I immediately expand the "files" tab by "hovering" the mouse over it.  Slickedit will become unresponsive until the File Tool Window has data to populate.

 

Title: Re: Win7x64 B1: Errors observed during background tagging
Post by: Clark on September 15, 2014, 10:47:57 PM
Interesting. We might be able to tweak this. I'll look into this detail.
Title: Re: Win7x64 B1: Errors observed during background tagging
Post by: Clark on September 18, 2014, 11:48:52 AM
We are working on a fix for this start up issue.
Title: Re: Win7x64 B1: Errors observed during background tagging
Post by: rozum on October 01, 2014, 08:01:53 PM
Verified fixed in Beta 6.   

Thank you again for addressing this start-up delay issue.