New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newer version using a lot of RAM compared to older version #10253
Comments
Without knowing which OS , where you got the exectables (and type of executables: release, debug, ...), and example it is hard to tell what the problem is.
cannot be guaranteed by any program due to e.g. new features, bug fixes etc. |
To make it easier to quantify the issue, I ran doxygen on its own code with version 1.9.1 and then again on master using valgrind's massif tool. Version 1.9.1 shows a relatively small memory usage peak after parsing (148 MB): The latest version has a significantly higher peak (430 MB) After that the memory usage is still higher, but not extremely so (162MB → 208MB, or a 28% increase). Still need to investigate why the difference is so big and if it can be reduced. |
It is not 100% clear to me what you computed, did you compute:
(as version 1. would not make any sense, in my opinion, for comparing the results). |
@albert-github I used option 3) both executables run on the master code. I also did a dry run for each before doing the actual valgrind run to avoid any caching effects. |
With the referenced commit, the memory profile looks a lot better, and more similar to version 1.9.1: @macawkitty Can you check if this also makes a significant difference in your project? |
This issue was previously marked 'fixed but not released', |
Describe the bug
Doxygen 1.9.7 is using upwards of 20GB RAM compared to 1.9.1 which uses ~11GB with the same config and on the same machine.
Expected behavior
Newer version needs RAM at most as much as the older version needed.
The text was updated successfully, but these errors were encountered: