Re: Apache Ignite High Memory Usage

2019-11-22 Thread Denis Magda
You might observe allocated rather than used memory space. How do you measure and how much of 8.5 gb is used by the off-heap storage vs. Java heap? Please check this page and let me know if you have other questions: https://www.gridgain.com/docs/latest/administrators-guide/monitoring-metrics/metric

RE: public @interface Query

2019-11-22 Thread alexanderkor12
Hi, Take a look at the example in https://github.com/apache/ignite/tree/master/examples/src/main/java/org/apac he/ignite/examples/springdata The https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apac he/ignite/examples/springdata/PersonRepository.java has the @Query ann

public @interface Query

2019-11-22 Thread niamin
Are there examples of how to use this annotation on Spring Data repository? I am not able to fetch records using select * from whatever format. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Actual size of Ignite caches

2019-11-22 Thread Prasad Bhalerao
You can also get the approx size by enabling persistence. With this you can get the apporx size of each cache in bytes by checking the folder size of each cache. On Fri 22 Nov, 2019, 7:23 PM Mikael Don't think there is any direct way to do it, but you can read out the > metric for your data regio

Re: excessive timeouts and load on new cache creations

2019-11-22 Thread akurbanov
Hello, This bug is related to byte arrays in first place, do you store them as values in caches? And yes, PME waits for finishing all pending cache operations and makes cache operations that were started after PME initialization to wait until finish. Reducing the partition map sizes by using cach

Re: Overriding GridQueryProcessor

2019-11-22 Thread akurbanov
Hi, Unfortunately the GridQueryProcessor was not designed to be pluggable, but it seems to me that among the best option that you might have is to implement PluginProcessor and IgnitePlugin and do it there. Another option is to implement LifecycleBean and rely on AFTER_NODE_START event that is pro

Re: Actual size of Ignite caches

2019-11-22 Thread Mikael
Don't think there is any direct way to do it, but you can read out the metric for your data regions and see how much memory is used and how much is free, that would give you a good indication of memory usage Den 2019-11-22 kl. 13:01, skrev ashishb888: Yes I am talking about physical size in by

Re: Unable to connect to a remote apache ignite node.

2019-11-22 Thread Humphrey
Somehow one of the nodes are starting with encryption? Joining node doesn't have encryption data Are they both using the same example-cache.xml file? Humphrey -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: excessive timeouts and load on new cache creations

2019-11-22 Thread ihalilaltun
Hi Pavel, Thanks for you reply and suggestions but currenly we cannot use cache-groups. As you know there is a know bug for it -> https://issues.apache.org/jira/browse/IGNITE-11953 - İbrahim Halil Altun Senior Software Engineer @ Segmentify -- Sent from: http://apache-ignite-users.70518.x

Re: Actual size of Ignite caches

2019-11-22 Thread ashishb888
Yes I am talking about physical size in bytes. How to get it? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: excessive timeouts and load on new cache creations

2019-11-22 Thread Pavel Kovalenko
Hi Ibrahim, I see you have 317 cache groups in your cluster `Full map updating for 317 groups performed in 105 ms.` Each cache group has own partition map and affinity map that require memory which resides in old-gen. During cache creation, a distributed PME happens and all partition and affinity

Unable to connect to a remote apache ignite node.

2019-11-22 Thread xabush
I am running a simple code to test Apache Ignite distributed cache. One node is on a server and the other one is run locally when I start a java program. public class HelloIgnite { public static void main(String[] args) { System.out.println("Hello Ignite"); Ignite ignite = Igni

Re: Actual size of Ignite caches

2019-11-22 Thread Igor Belyakov
Hi, You can use "TotalAllocatedSize" data region metric to get information regarding total used memory by the data region. More about metrics can be found here: https://apacheignite.readme.io/docs/memory-metrics#section-getting-metrics Ignite stores cache data in off-heap memory(except near cache

Re: Actual size of Ignite caches

2019-11-22 Thread Mikael
Hi! Are you talking about size as in number of entries or physical size in bytes ? Ignite put most of the cache contents off heap, you create data regions (off heap) where the cache contents are allocated (there is a default data region), depending on configuration some contents of the cache

Actual size of Ignite caches

2019-11-22 Thread ashishb888
How to get the actual size of caches? And do Ignite cache use heap size provided to the application at the time of starting? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/