Changed default term buffers to be even smaller
This commit is contained in:
parent
07b8b1002a
commit
b5342cd2f8
@ -268,12 +268,12 @@ internal constructor(val type: Class<*>, internal val config: Configuration) : A
|
|||||||
|
|
||||||
if (mDrivercontext.ipcTermBufferLength() != io.aeron.driver.Configuration.ipcTermBufferLength()) {
|
if (mDrivercontext.ipcTermBufferLength() != io.aeron.driver.Configuration.ipcTermBufferLength()) {
|
||||||
// default 64 megs each is HUGE
|
// default 64 megs each is HUGE
|
||||||
mDrivercontext.ipcTermBufferLength(16 * 1024 * 1024)
|
mDrivercontext.ipcTermBufferLength(8 * 1024 * 1024)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mDrivercontext.publicationTermBufferLength() != io.aeron.driver.Configuration.termBufferLength()) {
|
if (mDrivercontext.publicationTermBufferLength() != io.aeron.driver.Configuration.termBufferLength()) {
|
||||||
// default 16 megs each is HUGE (we run out of space in production w/ lots of clients)
|
// default 16 megs each is HUGE (we run out of space in production w/ lots of clients)
|
||||||
mDrivercontext.publicationTermBufferLength(4 * 1024 * 1024)
|
mDrivercontext.publicationTermBufferLength(2 * 1024 * 1024)
|
||||||
}
|
}
|
||||||
|
|
||||||
mediaDriverContext = mDrivercontext
|
mediaDriverContext = mDrivercontext
|
||||||
|
Loading…
Reference in New Issue
Block a user