以下默认配置会创建一堆警告?他们怎么能减少?
config = new IgniteConfiguration()
{
Logger = new Apache.Ignite.Log4Net.IgniteLog4NetLogger(),
};
this.ignite = Ignition.Start(config);
警告列表
解决方案1:添加到app.config
<runtime>
<gcServer enabled="true" />
</runtime>
解决方案2:
// Xms512m -> 512 MB min usage
// Xmx2g -> 2 GB max usage
config.JvmOptions = new List<string> { "-Xms512m", "-Xmx2g" };
解决方案3:
config.CommunicationSpi = new TcpCommunicationSpi
{
MessageQueueLimit = 1024, // It seem that 1024 is supposed to be the default value
};
解决方案7:
config.DiscoverySpi = new TcpDiscoverySpi
{
IpFinder = new TcpDiscoveryStaticIpFinder
{
Endpoints = new List<string> { "127.0.0.1" }
}
};