ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Cherkasov <michael.cherka...@gmail.com>
Subject Re: Ignite 2.0 off-heap memory
Date Fri, 09 Jun 2017 13:58:20 GMT
Hi Jessie,

With your configuration Ignites 2.0 stores data in Off Heap memory, but
visor shows
wrong statistics, I created a ticket for this issue:

https://issues.apache.org/jira/browse/IGNITE-5461

Thanks,
Mikhail.


2017-06-09 1:48 GMT+03:00 waterg <jessie.jianwei.lin@gmail.com>:

> Hello,
>
> has anyone used visor to check the memory usage in 2.0?
> I set up a custom region and used the custom region in the cache
> configuration.
> But when I used visor, it shows that all the entries are on heap. Should I
> do something different?
>
> memory config:
>  <property name="memoryConfiguration">
>             <bean
> class="org.apache.ignite.configuration.MemoryConfiguration">
>
>                 <property name="memoryPolicies">
>                     <list>
>                         <bean
> class="org.apache.ignite.configuration.MemoryPolicyConfiguration">
>                             <property name="name" value="customRegion"/>
>
>                             <property name="initialSize" value="#{1 * 1024
> *
> 1024 * 1024}"/>
>
>                             <property name="maxSize" value="#{40 * 1024 *
> 1024 * 1024}"/>
>
>                             <property name="swapFilePath" value="~/swap" />
>                         </bean>
>                     </list>
>                 </property>
>             </bean>
>         </property>
>
> part of cache config
>                 <bean
> class="org.apache.ignite.configuration.CacheConfiguration">
>
>                     <property name="name" value="sampleCache"/>
>                     <property name="memoryPolicyName"
> value="customRegion"/>
>                     <property name="cacheMode" value="PARTITIONED"/>
>                     <property name="atomicityMode" value="TRANSACTIONAL"/>
>
> display of cache -a in visor
>
> Nodes for: sampeCache(@c1)
> +===========================================================
> ===================================================
> +
> |      Node ID8(@), IP       | CPUs | Heap Used | CPU Load |   Up Time    |
> Size         | Hi/Mi/Rd/Wr                                       |
> +===========================================================
> ===================================================
> +
> | 8B41D11E(@n0), xxx.xxx.xxx.118 | 8    | 5.27 %    | 0.33 %   |
> 00:01:26:659 | Total: 2000          | Hi: 0
> |
> |                            |      |           |          |              |
> Heap: 2000         | Mi: 0                                             |
> |                            |      |           |          |              |
> Off-Heap: 0        | Rd: 0                                             |
> |                            |      |           |          |              |
> Off-Heap Memory: 0 | Wr: 0                                             |
> +-----------------------------------------------------------
> ---------------------------------------------------
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Ignite-2-0-off-heap-memory-tp13535.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Mime
View raw message