Using the parcelport TCP causes the memory usage to continuously increase, and I'm not sure if it is a memory leak #6573
Replies: 1 comment
-
This is a duplicate of #6574, for this reason, I'll close this discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@hkaiser
Hello, Mr. hkaiser.
Recently, I’ve been validating the feasibility of using HPX as the foundational framework for our team's signal processing algorithm development. However, during testing, I noticed what seems to be a memory leak issue with HPX.
So, I wrote a separate test program using the TCP parcelport to test data interaction across multiple nodes and discovered what looked like a memory leak. But I’m not entirely sure, so I’m seeking your help here.
I used two nodes, running on two different hosts (Ubuntu 22.04 LTS), and the test code is as follows:
Node 0 is the root node. I observed the memory usage on both Node 0 and Node 1. Both hosts have 8GB of physical memory.
When the test program started, the memory usage on both nodes was about 0.4%. But after 1 hour, the memory usage on Node 0 increased to 0.7%, while the memory usage on Node 1 remained at 0.4%.
After about 24 hours, the memory usage on Node 0 reached 2.3%, while the memory usage on Node 1 remained at 0.4%. This looks like a memory leak.
Later, I modified the test code to run a single process on one host, and there was no increase in memory usage.
However, my test code is extremely simple, so it’s unlikely that the issue is due to my code. Could you help analyze this problem?
Beta Was this translation helpful? Give feedback.
All reactions