these two files mean?
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Cache-Problems-tp7477p7697.html
> Sent from the Apache Ignite Users mailing list archive at Nabbl
>
I use lucense index.
By the way,
what do these two files mean?
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Cache-Problems-tp7477p7697.html
Sent from the Apache Ignite Users mailing list archive at Nabbl
this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Cache-Problems-tp7477p7697.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>
I've had same problem in the past but it was a memory leak in indexing code.
Do you use indexing on your entities ?
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Cache-Problems-tp7477p7697.html
Sent from the Apache Ignite Users mailing list archi
e can release off-heap memory during grid is running?
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Cache-Problems-tp7477p7592.html
> public Map map(List
> subgrid, String arg1) throws IgniteException {
> Map map = new HashMap<>(lstSql.size());
> Iterator it = subgrid.iterator();
> for (final String sql : lstSql) {
> if (!it.hasNext())
> it = subgrid.iterator();
> ClusterNode node = it.next();
> map.put(new ComputeJobAdapter() {
> @Override public Object execute() {
> doLoadData(sql);
> return 1;
> }
> }, node);
> }
> return map;
> }
> @Override
> public Integer reduce(List results) throws
> IgniteException {
> int sum = 0;
> for (ComputeJobResult res : results)
> sum += res.getData();
> return sum;
> }
> private void doLoadData(String sql){
> LogPrint.LOADER_BASE_INFO_LOGGER.info("DataLoaderTaskAdapter
> started ,cacheName:" + cacheName + ",sql:" + sql);
> IgniteCache cache = ignitePublicService.getCache(cacheName);
> long startTime = new Date().getTime();
> cache.loadCache(null, loadKey, sql);
> LogPrint.LOADER_BASE_INFO_LOGGER.info("load cache use time:" +
> (new Date().getTime() - startTime) + "ms, size=" +
> cache.size()+",cacheName="+cacheName + ",sql:" + sql);
> }
> }
>
> By the way, does ignite proide an API to release off-heap memory? Is there
> an offHeapMaxMemory property which can rule all caches within an ignite
> instance instead of one cache in an ignite instance?
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Cache-Problems-tp7477p7592.html
>
>
--
Vladislav Pyatkov
size=" +
cache.size()+",cacheName="+cacheName + ",sql:" + sql);
}
}
By the way, does ignite proide an API to release off-heap memory? Is there an
offHeapMaxMemory property which can rule all caches within an ignite instance
instead of one cache in an ignite instance?
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Cache-Problems-tp7477p7592.html
Hi Zhou,
Most likely this ticket is not connected with what you're seeing. Please
show full cache configuration and the code sample that reproduces the
behavior.
-Val
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Cache-Problems-tp7477p7592.html
Sent fro
Hi Val,
Thanks a lot for your reply.
For the third question, I have a case.
I buckup a cache in non-heap memory with some updates eveyday. When it's
finished, I destory the former cache. But system memory is used more and more.
Here's a url.
https://issues.apache.org/jira/browse/IGNITE-2833
f such bugs. Are you experiencing any unexpected behavior?
4. What do you mean by 'exchanged to hard disk'? Are you using swap?
5. Can you clarify what do you mean by that?
-Val
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Cache-Problems-tp7477p7499.ht
Hi all,
I have several questions about ignite 1.6.0's cache.
1. When does ignite free the non-heap memory? I found a system.gc in source
code, is it?
2. How can I check the data in non-heap memory with just ignite itself?
3. Are there any bugs about ignite cannot release non-heap memory cor
11 matches
Mail list logo