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

Java process memory consumption. #488

Open
golanha opened this issue Oct 29, 2020 · 0 comments
Open

Java process memory consumption. #488

golanha opened this issue Oct 29, 2020 · 0 comments

Comments

@golanha
Copy link

golanha commented Oct 29, 2020

I use REQ REP
I am trying to send a very large message (- 1Gi) from the server as reply.

I print related memory information on the client side process:
before getting a 2 Giga message:

VSZ 11231

before 0
tota lheap 504
free heap 497
used heap 6
VSZ 11231
RSS 54


After getting the message:
VSZ 12965

after 0
tota lheap 1600
free heap 642
used heap 957
VSZ 12965
RSS 1991

When receiving 1Gi message,although the heap is increased in 1Gi as expected, the process memory consumption grows by 1.5-2 Gi more than before receiving the message (12965 - 11231=1734).
Attached is the project I am running to print this information.
playground.zip
BTW when using jzmq implementation the process memory grows by 1Gi only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant