You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2020/10/19 10:33:00 UTC

[jira] [Updated] (IGNITE-13592) .NET: Incorrect GetTotalPhysicalMemory result in Docker

     [ https://issues.apache.org/jira/browse/IGNITE-13592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Tupitsyn updated IGNITE-13592:
------------------------------------
    Description: 
{{MemoryInfo.GetTotalPhysicalMemory}} uses {{/proc/meminfo}} on Linux, which does not take Docker memory limit into account.

This affects:
* {{DataRegionConfiguration.DefaultMaxSize}}
* {{MemoryPolicyConfiguration.DefaultMaxSize}}

The following tests fail in Docker when memory limit is set:
* {{IgniteConfigurationTest.TestSpringXml}}
* {{IgnitionStartTest.TestIgniteStartsFromSpringXml}}

  was:
{{MemoryInfo.GetTotalPhysicalMemory}} uses {{/proc/meminfo}} on Linux, which does not take Docker memory limit into account.

This affects:
* {{DataRegionConfiguration.DefaultMaxSize}}
* {{MemoryPolicyConfiguration.DefaultMaxSize}}

The following test fail in Docker when memory limit is set:
* {{IgniteConfigurationTest.TestSpringXml}}
* {{IgnitionStartTest.TestIgniteStartsFromSpringXml}}


> .NET: Incorrect GetTotalPhysicalMemory result in Docker
> -------------------------------------------------------
>
>                 Key: IGNITE-13592
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13592
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: .NET
>             Fix For: 2.10
>
>
> {{MemoryInfo.GetTotalPhysicalMemory}} uses {{/proc/meminfo}} on Linux, which does not take Docker memory limit into account.
> This affects:
> * {{DataRegionConfiguration.DefaultMaxSize}}
> * {{MemoryPolicyConfiguration.DefaultMaxSize}}
> The following tests fail in Docker when memory limit is set:
> * {{IgniteConfigurationTest.TestSpringXml}}
> * {{IgnitionStartTest.TestIgniteStartsFromSpringXml}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)