Re: Swap Space configuration - Exception_Access_Violation

2018-12-01 Thread userx
Hi Andrei,

The issue hasn't re-occurred (ran twice). But I will keep on iterating and
will let you know.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Swap Space configuration - Exception_Access_Violation

2018-11-28 Thread userx
Hi Andrei,

Please allow me sometime, I will paste the entire log.





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Swap Space configuration - Exception_Access_Violation

2018-11-28 Thread aealexsandrov
Hi,

Possible you face some of JDK issue. Could you please provide full error
message from the dump-core file or log like next:

EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x5e5521f4, pid=2980,
tid=0x3220 
# 
# JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build
1.8.0_131-b11) 
# Java VM: Java HotSpot(TM) Client VM (25.131-b11 mixed mode windows-x86 ) 
# Problematic frame: 
# C [MSVCR100.dll+0x121f4] 
# 
# Failed to write core dump. Minidumps are not enabled by default on client
versions of Windows 
# 
# If you would like to submit a bug report, please visit: 
# http://bugreport.java.com/bugreport/crash.jsp 
# The crash happened outside the Java Virtual Machine in native code. 
# See problematic frame for where to report the bug. 

BR,
Andrei



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Swap space

2016-11-28 Thread vkulichenko
Can you give a link to the thread? If it's a different issue, let's discuss
there.

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Swap-space-tp8156p9231.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Swap space

2016-11-23 Thread Anil
I see it is evicting the entries to swap.

there was an email chain that says about memory leak in case of off-heap +
swap + eviction. Do you remember and have any workaround ?

Thanks

On 24 November 2016 at 10:25, vkulichenko 
wrote:

> It is needed, without eviction policy entries will not be evicted.
>
> -Val
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Swap-space-tp8156p9173.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>


Re: Swap space

2016-11-23 Thread vkulichenko
It is needed, without eviction policy entries will not be evicted.

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Swap-space-tp8156p9173.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Swap space

2016-11-23 Thread Anil
HI Val,

When max heap is set, explicit eviction policy is not needed. correct ?
Thanks.




On 21 November 2016 at 23:42, vkulichenko 
wrote:

> An entry will go to swap only if it's evicted from the cache [1]. If
> eviction
> policy is not configured, this will never happen.
>
> [1] https://apacheignite.readme.io/docs/evictions
>
> -Val
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Swap-space-tp8156p9116.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>


Re: Swap space

2016-11-21 Thread vkulichenko
An entry will go to swap only if it's evicted from the cache [1]. If eviction
policy is not configured, this will never happen.

[1] https://apacheignite.readme.io/docs/evictions

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Swap-space-tp8156p9116.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Swap space

2016-11-21 Thread Vladislav Pyatkov
Hi Kevin,

Check your log, is any OutOfMemory exception appear in a log?

On Mon, Nov 21, 2016 at 5:11 PM, Kevin Daly  wrote:

> I think what he means is that no files are being created.. We are doing
> some
> tests with Ignite and we don't see any use of the cache, even when we load
> more keys than fit in physical memory.
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Swap-space-tp8156p9112.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>



-- 
Vladislav Pyatkov


Re: Swap space

2016-11-21 Thread Kevin Daly
I think what he means is that no files are being created.. We are doing some
tests with Ignite and we don't see any use of the cache, even when we load
more keys than fit in physical memory.



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Swap-space-tp8156p9112.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Swap space

2016-11-09 Thread vkulichenko
Can you clarify what you mean by "i can swap folders but no files"? Are there
any errors?

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Swap-space-tp8156p8853.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Swap space

2016-11-09 Thread Anil
Hi Vladislav,

i was trying swap space and see it is not working in unix but my test
program worked on windows.

i can swap folders but no files. Did you see any issue in the below
configuration ?


   CacheConfiguration pConfig = new
CacheConfiguration();
pConfig.setName("Person_Cache");
pConfig.setIndexedTypes(String.class, Person.class);
pConfig.setBackups(1);
pConfig.setCacheMode(CacheMode.PARTITIONED);
pConfig.setCopyOnRead(false);
pConfig.setSwapEnabled(true);
pConfig.setMemoryMode(CacheMemoryMode.OFFHEAP_TIERED);
pConfig.setSqlOnheapRowCacheSize(100_000);
pConfig.setOffHeapMaxMemory(10 * 1024 * 1024 * 1024);
pConfig.setStartSize(200);
pConfig.setStatisticsEnabled(true);


and ignite.xml -














  

  

  
XX.XX.XX.1:47500..47509
XX.XX.XX.2:47500..47509
XX.XX.XX.3:47500..47509
  

  

  

  


Thanks


Re: Swap space

2016-10-10 Thread Vladislav Pyatkov
Hi,

You can to spy movement into swap space using Ignite event listener[1] on
event EventType#EVT_SWAP_SPACE_DATA_EVICTED

By default swap space directory is "swapspace" into working directory (if
you configured IGNITE_HOME the directory placed in it in "work"
sub-directory).

You can configure this like:


 ...
 
 
 
 
 
 ...
 

[1]: https://apacheignite.readme.io/docs/events

On Sat, Oct 8, 2016 at 8:47 AM, Anil  wrote:

> Hi,
> I am little new to ignite and trying out few features.
> How to log swap space movement  ? what is the default location of swap on
> disk ?
>
> Thanks.
>



-- 
Vladislav Pyatkov