Growing memory usage with multiple threads

49 views
Skip to first unread message

Praveen C

unread,
Apr 21, 2024, 7:41:03 AM4/21/24
to deal.II User Group
Hello

I am using WorkStream in a code, and if I run with multiple threads, the memory usage grows continuously, as reported by "top".

This does not happen with single thread.

Can you give any tips on how to find the source of the problem ?

Thanks
praveen

Wolfgang Bangerth

unread,
Apr 22, 2024, 7:11:13 PM4/22/24
to dea...@googlegroups.com
Praveen,
I don't really have any thoughts on the matter. Nothing comes to mind.
What happens if you run the program under a memory profiler like
valgrind's massif? Does it show that the program is losing memory?

As always, if you could come up with as small a test case as possible,
that would be fantastic!

Best
W.

Praveen C

unread,
Apr 22, 2024, 11:32:49 PM4/22/24
to Deal. II Googlegroup
I am seeing this memory issue on a machine with

intel-tbb@2021.9.0 (memory usage grows continuously)


On another machine, I have


intel-tbb@2020.3 (fixed memory consumption)


Thanks for valgrind tip, I will try that.


best

praveen


--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/ef872339-4943-4f4b-aea9-ce032c56487b%40colostate.edu.

Reply all
Reply to author
Forward
0 new messages