MessageQueue: Change default queue size to 4096 KB
1024 KB was low enough that many users seem to hit it, which can lead to the
editor freezing.
The proper fixed as described in #35653 would be to implement a page allocator
to prevent this overflow, but as a stop-gap measure, we can increase the
default value to a more lenient 4096 KB which should be high enough for the
vast majority of use cases.
The default size can be brought down again if/when #35653 is properly fixed,
and if it's actually relevant from a memory point of view.
(cherry picked from commit 5009ba54b2
)
This commit is contained in:
parent
1f16992277
commit
a99879ba6c
1 changed files with 1 additions and 2 deletions
|
@ -39,8 +39,7 @@ class MessageQueue {
|
||||||
_THREAD_SAFE_CLASS_
|
_THREAD_SAFE_CLASS_
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
DEFAULT_QUEUE_SIZE_KB = 4096
|
||||||
DEFAULT_QUEUE_SIZE_KB = 1024
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
|
Loading…
Reference in a new issue