liyuj commented on PR #9983:
URL: https://github.com/apache/ignite/pull/9983#issuecomment-1100875041

   
   
   public class IgniteServer {
       public static void main(String[] args) {
           IgniteConfiguration cfg = new IgniteConfiguration();
           DataStorageConfiguration storageCfg = new DataStorageConfiguration();
           DataRegionConfiguration defaultRegion = new 
DataRegionConfiguration();
           defaultRegion.setMaxSize(4 * 1024 * U.GB);
           defaultRegion.setPageEvictionMode(DataPageEvictionMode.RANDOM_2_LRU);
           storageCfg.setDefaultDataRegionConfiguration(defaultRegion);
           cfg.setDataStorageConfiguration(storageCfg);
           
           Ignition.start(cfg);
       }
   }
   
   above is the reproducer.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to