Skip to content
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

Fix the memory usage of the /source/fe unity files. #5925

Merged
merged 1 commit into from
Feb 21, 2018

Conversation

drwells
Copy link
Member

@drwells drwells commented Feb 19, 2018

Recent changes, such as b15febd, 36b74d6, and fd1bf6a caused the memory usage of one of the unity files to go above 5 GB: these splits lower the high water mark to about 3 GB.

I suspect make_shared is the culprit here: GCC's version is a huge memory hog.

Recent changes, such as b15febd, 36b74d6, and fd1bf6a caused the memory
usage of one of the unity files to go above 5 GB: these splits lower the high
water mark to about 3 GB.
@Rombur
Copy link
Member

Rombur commented Feb 20, 2018

/run-tests

@kronbichler
Copy link
Member

I suspect make_shared is the culprit here: GCC's version is a huge memory hog.

This is crazy because it shouldn't do anything useful, but I have seen similar effects as well. gcc seems to be particularly bad when it comes to the internal representation of long nested symbol lists that appear for heavily templated code - when compared to clang for example.

@kronbichler kronbichler merged commit 7b1542d into dealii:master Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants