News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Diagnose Visio slow startup

Started by Visisthebest, June 15, 2022, 10:25:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Visisthebest

From time to time on my development machine (AMD 5600U Zen3 with 16GB, cheap and fast:), Visio 2019 will startup very slowly taking more than 30 seconds rather than coming up almost immediately.

Other Office apps do not have this issue.

I thought it might be my add-in, but when I use debug.print to see when it starts and is ready initializing my add-in it just takes no time at all.

I tried safe mode but I need a mode where I can see what Visio is doing exactly during startup to see where the bottleneck is. Is there any mode or Visio log where I could find this out to diagnose and fix?
Visio 2021 Professional

Yacine

I do have the same problem, but not 30s, rather several minutes!
This happens when I'm connected to the work VPN. When not connected, it starts within a few seconds.
I don't really know where to look, so I just indulge it.
Yacine

Visisthebest

Thank you Yacine that is good to know, I don't use VPN but it may be internet connection-related maybe.
Visio 2021 Professional

Nikolay

#3
A common problem could be you have something on your visio paths configured and Visio scans that on every startup. Make sure all fields in options - advanced - file paths are blank.

Visisthebest

Thank you for the tip Nikolay, I only have the one My Shapes.
Visio 2021 Professional

Nikolay

Have you tried to exclude that one (set it blank)? Maybe some shape in My Shapes is causing this?

vojo

you sure this is not the EMF problem?

visio cafe has lots info / recipe for the resolution

Yacine

Quote from: vojo on June 16, 2022, 01:09:49 AM
you sure this is not the EMF problem?

visio cafe has lots info / recipe for the resolution

EMF?
Yacine

Visisthebest

Nikolay I cannot delete the My Shapes reference only change it to another location. It may be related to OneDrive though, which can be quite slow (may be related to internet connectivity issues). I will change it to an empty directory on C:\ to test but cannot delete it entirely. The other entries are deletable.

I'd like to investigate the EMF problem as well but don't know what it is :)
Visio 2021 Professional

vojo

some rocket scientist at MS changed how EMF "shapes" are processed.   EMF is a meta data format of a shape (can parse or ungroup an EMF shape, but things like discrete geometries are not present).

Circa March 2022, MS had a visio build that introduced a bug into the EMF.   The fix is to disable EMF optimizations.
(personally, I fixed this by growing the file cache in the OS from 4GB to 12GB),

Surrogate


Visisthebest

I have not used enhanced metafiles that were imported in to Visio, could I still see this issue if I just use native Visio shapes (built in Visio not in a 3rd party tool)?
Visio 2021 Professional

vojo

visio cafe site news....first item!!!!

EMF is there whether all shapes are native visio shapes or not.

I believe the suggested fix is to go to options and disable EMF optimizations

I fixed mine but make OS file cache very big  (3GB ==> 12GB....I have 16GB of DRAM)

Surrogate

Quote from: vojo on June 17, 2022, 12:16:50 PM
visio cafe site news....first item!!!!
Sorry, but visiocafe dont open for visitors from Russia. I cant open even with VPN with Netherlands IP...  :o

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 396 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1238KB.
Tokens: post-login.
Cache hits: 13: 0.00185s for 26,733 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]