Dmitriy Govorukhin created IGNITE-6210:
------------------------------------------
Summary: inefficient memory consumption for checkpoint buffer
Key: IGNITE-6210
URL:
https://issues.apache.org/jira/browse/IGNITE-6210 Project: Ignite
Issue Type: Bug
Components: persistence
Affects Versions: 2.1
Reporter: Dmitriy Govorukhin
Assignee: Dmitriy Govorukhin
Priority: Critical
Fix For: 2.2
Current implementation allows configure checkpoint buffer size in PersistentStoreConfiguration, but checkpoint buffer will be created for each memory configuration with size equals the one indicated in PersistentStoreConfiguration.
For example:
{code}
PersistentStoreConfiguration prCfg = new PersistentStoreConfiguration();
prCfg.setCheckpointingFrequency(5L * 1024L * 1024L * 1024L); // 5GB.
MemoryConfiguration memCfg = new MemoryConfiguration();
MemoryPolicyConfiguration pl1 = new MemoryPolicyConfiguration();
pl1.setMaxSize(100L * 1024L * 1024L); // 100 Mb.
MemoryPolicyConfiguration pl2 = new MemoryPolicyConfiguration();
pl2.setMaxSize(10L * 1024L * 1024L * 1024L); // 10GB.
memCfg.setMemoryPolicies(pl1, pl2);
{code}
pl1(max size 10Gb) will be have checkpoint buffer = 5GB and pl2(max size 100Mb) buffer= 5GB
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)