Matlab extremely slow to start up due to error mwdocsearch.exe

14 views (last 30 days)
Matlab 2022B has a bug in "mwdocsearch.exe" which is automatically run when launching Matlab and results in the following error.
Caught "std::exception" Exception message is:
An error occurred while initializing child process: While attempting to execute "C:\Program Files\MATLAB\R2023a\bin\win64\mwdocsearch.exe server -m C:\Program Files\MATLAB\R2023a -p 59732 -v C:\Users\TestMTT\AppData\Local\Temp\ -t 7412 0 1 0 0 0": CreateProcessW: Insufficient system resources exist to complete the requested service [system:1450]
I tried to upgrade to 2023a and same bug occurs.
Does anybody know how to cure this failure or disable the "mwdocsearch.exe" from running? This will cause Matlab to hangup for sometimes up to 10minutes before ultimately presenting the error and allowing Matlab to open.
  3 Comments
Walter Roberson
Walter Roberson on 21 Aug 2024
I think you are going to need to contact Mathworks Support for free installation assistance.

Sign in to comment.

Answers (1)

Animesh
Animesh on 21 Aug 2024
It seems that MATLAB is simply trying to start an executable during initialization. One possible reason could be that the antivirus software is preventing the executable from running.
If you're accessing online documentation, this error is typically harmless. However, if you're using installed documentation, you may encounter issues with searching the documentation.
To check if the executable can run on your machine, you can try launching it directly from the Windows command prompt:
>> "C:\Program Files\MATLAB\R2023a\bin\win64\mwdocsearch.exe" server -m "C:\Program Files\MATLAB\R2023a" -p 59732
If turning off the antivirus or firewall does not resolve the issue, you can contact MathWorks support:
  4 Comments
Matthew
Matthew on 26 Aug 2024
Thanks Animesh, No it does not. We are still using Win7 64bit but this is on production testers which are not allowed to be upgraded. Maybe we need to downgrade Matlab to a version that still supports Win7.

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!