Help and Manual 7 Extremely Slow to Start.

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Post Reply
Steve Gill
Posts: 38
Joined: Tue Feb 18, 2003 4:49 am
Location: Canberra, Australia

Help and Manual 7 Extremely Slow to Start.

Unread post by Steve Gill »

I haven't used H&M 7 for a few months. When I started it today it took just over 11 minutes to go from the splash screen to the main screen. I tried it a few times and the same thing.

So then I uninstalled and reinstalled it. Same result. I tried running it as administrator but that made no difference.

No other applications are having this problem.

Any suggestions?

H&M 7.5.4 Build 4760.

= Steve
User avatar
Tim Green
Site Admin
Posts: 23189
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Help and Manual 7 Extremely Slow to Start.

Unread post by Tim Green »

Hi Steve,

​Help & Manual is normally very responsive. However, there are some correctable factors that can slow it down under certain circumstances. Note that even if you are working exclusively on local projects, orphaned network references in the project may cause slow performance.

The most common causes of problems like this are:

* Trying to run Help+Manual over a network or VPN connection
* Trying to edit projects over a VPN or other Internet connection
* User configuration problems causing slow startup
* Orphaned network references to your project referencing locations on the network that no longer exist.
* Network performance if you are storing large projects on a network drive/share and working there
* Use of a large number of embedded images in your project.
* Use of a large number of linked snippers in your project, particularly when they are accessed via a network
* Integration of your project in a Subversion repository incorrectly using network locations for the working copies of your project.

** Trying to run Help+Manual over a network or VPN connection

Storing Help+Manual on a network drive and starting it from there will always be slower than a local installation. If you are running the Server version of Help+Manual 7 or earlier this can't be avoided, but versions 8 and above no longer need to do this with the new Floating licenses. You should NEVER try to run Help+Manual over a VPN or other Internet connection. They are not reliable or fast enough for this and you will get both terrible performance and data corruption (sooner or later, probably sooner). If you need to work remotely, use version control so that you can work on a synchronized local working copy. If that is not possible, use Remote Desktop to log into a remote Help+Manual installation that is on the same computer as the project being edited. This will still be slower, but it is at least reliable.

** Trying to edit projects over a VPN or other Internet connection

Here too, just don't do it. No Internet connection is fast or reliable enough to edit a project across it, and you will get terrible performance and most likely also data corruption. Use version control or Remote Desktop.

** User configuration problems causing slow startup

The most common cause of slow startup is the Recent Projects list in the Open menu. If projects there are on unavailable locations, Windows takes a long time checking them. Right-click on any unavailable projects there and remove them from the list.

If that doesn't help, you can try resetting all your user settings. You will need your license key for this. In the Windows Start menu select Run and enter "regedit" to start the Registry Editor. Go to HKEY_CURRENT_USER > Software > ECSOFTWARE. Select the Help+Manual X key (folder), where X is your major version number, then right-click and select EXPORT to export it to a file. Then delete it completely and restart H+M twice -- once to re-generate the registry settings and enter your license key, and then again to see the normal start behavior.

If it's faster, the problem was in the settings. If it still starts slowly with fresh settings, then it is probably being slowed down by Windows Defender or a third-party anti-virus program. Disabling it for a test would be the first method in that case.

** Orphaned network references

Slow loading and saving performance is often caused by orphaned network references in your project to locations on the network that no longer exist, and it may be made worse by embedded images in your project, which can also slow down editing. This can apply in particular to image file references if the Project Search Path contains orphaned network references.

Windows networks take a very long time to resolve invalid network references. In your project go to the following locations and delete any references to network locations that are no longer valid:

Project Explorer > Configuration > Common Properties > Project Search Path
Project Explorer > Configuration > Common Properties > Help Windows: HTML Help Options
File > Recent projects (delete any projects shown in red that no longer exist)

** Network performance

If you are storing your projects on a network drive or share it is possible that the network itself may be the bottleneck. To test this, try making a copy of your project on your local machine and edit it there for a while to see if you get better performance. Use Save As... in the Help & Manual File menu to save the copy, and save it in a folder in your own Documents directory on your local computer. Using the Documents directory ensures that you won't have Windows account permissions problems, because you always have full read and write permissions there.

** Embedded images

When you copy and paste images from another program like Word they are initially embedded in your project. If you have more than just a couple of these images they can inflate the size of your project and will eventually slow down editing because embedded images use up very large amounts of memory and computer resources (many times their own uncompressed size). You need to convert embedded images to external files:

1. Click on an image in the Help & Manual editor. If it turns "negative" when you select it, it is OK. If it does not, it is embedded.
2. Right-click on the embedded image and select the option to convert it to an external file.
3. Repeat this for all embedded images in your project.

You can also locate embedded images with the Project Report tool in the Project tab. Run a full report with image references and search for the word "embedded" in the report. That will show you which topics contain embedded images.

** Linked snippets

Linked snippets use a fair amount of resources, particularly if they are stored on network drives. If you have a lot of them it can slow down project management. This has been improved as far as possible in the current version of Help+Manual 9, but it still has an influence.

** Version control working copy on a network drive

Version control works very differently from normal multi-user editing. In normal multi-user, everyone works on the same copy of the project on a network drive accessed by all users. You cannot and should not use this paradigm with version control (Subversion or Team Foundation Server), and if you do you will experience performance degradation and other issues. You will also get a serious degradation of performance if each user tries to put their version control working copy of the project on a network drive instead of locally.

When working with version control, every user must work on their own local, linked copy of the project. This copy must be stored on a local drive on the computer they are working on, NOT on a network drive. This is crucial for version control to work properly.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Steve Gill
Posts: 38
Joined: Tue Feb 18, 2003 4:49 am
Location: Canberra, Australia

Re: Help and Manual 7 Extremely Slow to Start.

Unread post by Steve Gill »

Hi Tim,

Sorry for taking so long to respond. I was dragged into another project which took up all of my time for the last couple of months.

So I deleted the registry settings and started HM7 twice but no change.

No network drives are used, no VPN, nothing done over Internet connection, no embedded images, no Subversion used. Checked Anti-Virus (Webroot) and it's not blocking or scanning in real-time.

It still takes a long time to start but once it has started it seems to be fine. I'll just have to put up with it for now.

Thanks for your help and advice.

= Steve
User avatar
Tim Green
Site Admin
Posts: 23189
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Help and Manual 7 Extremely Slow to Start.

Unread post by Tim Green »

Hi Steve,

If you've covered all those bases another possibility is a hard drive or SSD wear problem. What can happen is that parts of your hard disk or SSD can get slower over time because their data is not bad but "weaker" and takes multiple reads to load. This can be improved with tools like SpinRite from Gibson Research Corporation or Hard Disk Sentinel. These programs work by reading every single sector on your hard disk or SSD and optionally rewriting it, and relocating sectors that cannot be refreshed by rewriting. This can significantly improve performance , restoring the original read speeds.

Spinrite is technically the best tool, but it can be very difficult to run on newer computers with UEFI booting, which is basically all Windows computers purchased in the past few years, on which you have to jump through a lot of very technical hoops to get it to install and run the special DOS version it needs. Hard Disk Sentinel is much easier to use because you can run it from within Windows.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Steve Gill
Posts: 38
Joined: Tue Feb 18, 2003 4:49 am
Location: Canberra, Australia

Re: Help and Manual 7 Extremely Slow to Start.

Unread post by Steve Gill »

Hi Tim,

I doubt it's the hard-drive as it's brand new. However, I'll give Hard Disk Sentinel a try, just in case.

Thank you for telling me about it.

= Steve
Post Reply