Re: Offheap memory consumption + enabled persistence

2020-02-27 Thread Dmitriy Govorukhin
Mikle, A pure data is a size of(keyByte+ValueBytes), as I can see you have Key=int and Value=String(1024) 4+1024 bytes this is your pure data size which will be stored in the cache (of course Ignite has overhead for save data ~45 bytes ) In internal Ignite has a structure named "FreeList" for

Re: Offheap memory consumption + enabled persistence

2020-02-22 Thread Dmitriy Govorukhin
Hi Mikle, Could you please check what happening with files, they too grow as a metric? You need to check the size of files in {IGNITE_HOME}/work/db/cache-{cacheName}/* during random key upload and clean up. Also, calculate data size on each iteration and print to log. My assumption in that we

Re: NegativeArraySizeException on cluster rebalance

2019-07-31 Thread Dmitriy Govorukhin
Hi Ibrahim, Looks like Btree corrupted problem, I guess it was fixed in https://issues.apache.org/jira/browse/IGNITE-11953 The fix you can find in 9c323149db1cee0ff6586389def059a85428b116 org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java:1631 Thank you! On Wed, Jul

Re: ignite git repo

2019-01-17 Thread Dmitriy Govorukhin
This link work for me, https://gitbox.apache.org/repos/asf/ignite чт, 17 янв. 2019 г., 20:03 Scott Cote sc...@etcc.com: > Petr, > > > > Thank you for your quick reply. > > > > git clone https://gitbox.apache.org/repos/ignite.git > > > > 404 on that one …. > > > > “[image: git]

Re: Delete/remove cache does not free the memory in PCF server

2018-08-02 Thread Dmitriy Govorukhin
In the current implementation, Ignite does not support deallocate memory. Maybe you can try to use ignite with persistence and reduce in-memory region size? Please explain your use case in more details and provide Ignite and cache configurations. On Mon, Jul 30, 2018 at 8:29 PM okiesong wrote:

Re: Distributed closure and cache.

2018-07-31 Thread Dmitriy Govorukhin
HI, Yes, you can. Try to do something like this ignite.compute().call(() -> { // Get local ignite instance (local in compute task). Ignite remoteIg = Ignition.localIgnite(); IgniteCache cache = remoteIg.cache("cacheName"); Object val = cache.get("someKey"); return "result"; }); or use

Re: Delete/remove cache does not free the memory in PCF server

2018-07-30 Thread Dmitriy Govorukhin
Ignite does not deallocate memory in a region after all caches are stopped. It is the default behavior. In future, you may create new caches in this regions without necessary allocate memory. Could you please explain your case in more details? On Fri, Jul 27, 2018 at 4:10 PM okiesong wrote: >

Re: IgniteMessaging, What am I doing wrong?

2018-07-27 Thread Dmitriy Govorukhin
No, a new client will not receive these messages because they were sent on previous topology version. (topology version changing after join/left any node) The messages will be sent only to current client nodes. On Fri, Jul 27, 2018 at 2:07 PM monstereo wrote: > thanks, > When I want to send

Re: Delete/remove cache does not free the memory in PCF server

2018-07-27 Thread Dmitriy Govorukhin
Hi, Do you use the in-memory region for these caches or region with persistence? What is your ignite version? On Fri, Jul 27, 2018 at 12:17 AM okiesong wrote: > Hi, this is basically the command that I am using to clear and destroy the > cache from the server that is deployed on the PCF server.

Re: IgniteMessaging, What am I doing wrong?

2018-07-27 Thread Dmitriy Govorukhin
Hi, Are you sure that server sends a message only after a client is joined to topology? Please, check that ClusterGroup clientNodes is not empty before sending a message to the topic. On Fri, Jul 27, 2018 at 8:27 AM monstereo wrote: > I want to send message to client nodes from server nodes,

Re: Node stopped automatically

2018-06-30 Thread Dmitriy Govorukhin
Hi, kvenkatramtreddy! Could you please provide a full log, not only stack trace with an exception? On Sat, Jun 30, 2018 at 3:24 PM kvenkatramtreddy wrote: > Hi, > > Node stopped automatically after 48 hours uptime. Please find the logs > below. > > I got 2 hosts and 3 Ignite nodes > > > Host

Re: put vs putAll

2018-05-14 Thread Dmitriy Govorukhin
Prasad, PutAll more effective in many cases, because transaction obtains locks for keysSet in the batch. Each put will be produced a call for obtain lock for the appropriate key, in general, it more slowly. On Mon, May 14, 2018 at 4:47 PM, Prasad Bhalerao < prasadbhalerao1...@gmail.com> wrote:

Re: Scheduler throwing NullPointerException for Ignite 2.0.0

2017-08-01 Thread Dmitriy Govorukhin
Hi ronly2008, I applied your stacktrace on ignite-2.0.0, but code lines is does not matched. Are you sure that you use ignite-2.0.0 (it is tag)? Can you provide small reproducer? It can help solve problem more quickly. -- View this message in context:

Re: Ignite with cassandra

2016-11-10 Thread Dmitriy Govorukhin
Hi, i think it problem related to cassandra configuration or network, check you firewall. You can try change cassandra configuration and enable port 9160 for using. Also check which version cassandra-jdbc driver using, different version use different ports. -- View this message in context:

Re: Very high memory consumption in apache ignite

2016-11-10 Thread Dmitriy Govorukhin
Hi, could you please provide your final jvm options and cache configuration? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Very-high-memory-consumption-in-apache-ignite-tp8822p8879.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: rest-http can't get data if key is Integer or others

2016-11-10 Thread Dmitriy Govorukhin
Hi, Please properly subscribe to the mailing list so that the community can receive email notifications for your messages. To subscribe, send empty email to user-subscr...@ignite.apache.org and follow simple instructions in the reply. Could you please provide test for reproduce issue? And i

Re: Question about cron-based scheduler

2016-09-29 Thread Dmitriy Govorukhin
Hi, Do you want use exactly cron scheduler? Unfortunately cron supported the minimum unit time 1 min. # ┌─ min (0 - 59) # │ ┌── hour (0 - 23) # │ │ ┌─── day of month (1 - 31) # │ │ │ ┌ month (1 - 12) # │ │ │ │ ┌─ day of