This actually will affect only nodes started in a single jvm, but I agree that expandable memory provides better user experience. Let's try to squeeze this change to 2.0.
2017-04-20 12:32 GMT+03:00 Sergi Vladykin <sergi.vlady...@gmail.com>: > Guys, > > If we have a default of 80% of available memory then just starting few > nodes on my laptop will make it hang. This idea does not work until we have > a dynamically expandable memory pools. > > Sergi > > 2017-04-19 22:20 GMT+03:00 Dmitriy Setrakyan <dsetrak...@apache.org>: > > > Sergey, > > > > I have responded in the ticket. Can you please provide the current and > the > > proposed configuration examples? > > > > D. > > > > On Wed, Apr 19, 2017 at 2:34 AM, Sergey Chugunov < > > sergey.chugu...@gmail.com> > > wrote: > > > > > Guys, > > > > > > I created a ticket to implement these improvements, please take a look: > > > IGNITE-5024 <https://issues.apache.org/jira/browse/IGNITE-5024> > > > > > > Besides employing the idea of allocation 80% of physical memory I'm > also > > > suggesting to introduce one more configuration property to specify > > default > > > MemoryPolicy's size in bytes without having to use verbose syntax of > > > *memoryPolicyConfiguration > > > *section. > > > > > > Any thoughts on this? > > > > > > Thanks, > > > Sergey. > > > > > > > > > > > > On Tue, Apr 18, 2017 at 12:12 PM, Dmitriy Setrakyan < > > dsetrak...@apache.org > > > > > > > wrote: > > > > > > > On Tue, Apr 18, 2017 at 2:09 AM, Alexey Goncharuk < > > > > alexey.goncha...@gmail.com> wrote: > > > > > > > > > I don't see why not, this is the way our tests are currently > running. > > > > > Anyways, we can think about efficient dynamic memory expansion in > > 2.1, > > > > this > > > > > may be feasible if we free up some space in PageId to encode > segment > > > > > number. There is a ticket for this: > > > > > https://issues.apache.org/jira/browse/IGNITE-4921 > > > > > > > > > > > > Alexey, if the operating system is already handling this for us, I > > don't > > > > see a reason to do it manually. > > > > > > > > I also like what Denis and Semyon are proposing. However, I would not > > > grab > > > > the full free memory. How about 80% of the free memory? > > > > > > > > D. > > > > > > > > > >