Commit 6e7e7d7
committed
Use the default values for input/output buffers
Before it was using a buffer of 8Mb.
This meant that for every message received/sent, a buffer of 8Mb was
being allocated.
This in turn were causing a log of memory pressure and the service would
crash with Out of Memory.
After this change, the IO buffers have a 4Kb size that doesn't create
the same memory pressure.
Even if the buffer is only 4Kb, it still works for messages that are
bigger than 4Kb.1 parent 600df0e commit 6e7e7d7
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | 83 | | |
86 | 84 | | |
87 | 85 | | |
| |||
0 commit comments