'Doxygen latex to PDF error: TeX capacity exceeded, sorry [pool size=2851623]

I am using Doxygen to document a large project. I use Doxygen- 1.9.3 ,MikTeX - 22.3, MiKTeX-pdfTeX 4.10 . I have a Latex output and run the make.bat batch file to create a PDF file. During the running of the batch file this error occurred:

enter image description here

Is there a way to go around this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source