ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shawn.du" <shawn...@neulion.com.cn>
Subject Re: memory usage in 2.3
Date Thu, 14 Dec 2017 02:48:31 GMT
<html>
<head>
    <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
</head>
<body>
<style>
    font{
        line-height: 1.7;
    }
</style>
<div style = 'font-family:"微软雅黑"; font-size: 14px; color:#000000; line-height:1.7;'>
    <div>
<div><span>Hi Denis,</span></div><div><span><br></span></div><div><span>after
run 20 hours, ignite client can't update cache and threw blow exceptions:</span></div><div><span><br></span></div><div><span><div>&nbsp;Caused
by: org.apache.ignite.internal.mem.IgniteOutOfMemoryException: Not enough memory allocated
(consider increasing data region size or enabling evictions) [policyName=default, size=12.9
GB]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.pagemem.impl.PageMemoryNoStoreImpl.allocatePage(PageMemoryNoStoreImpl.java:292)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.DataStructure.allocatePageNoReuse(DataStructure.java:117)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.DataStructure.allocatePage(DataStructure.java:105)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.access$8400(BPlusTree.java:81)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$Put.insertWithSplit(BPlusTree.java:2703)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$Put.insert(BPlusTree.java:2665)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$Put.access$2500(BPlusTree.java:2547)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$Insert.run0(BPlusTree.java:411)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$Insert.run0(BPlusTree.java:392)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$GetPageHandler.run(BPlusTree.java:4697)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$GetPageHandler.run(BPlusTree.java:4682)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.tree.util.PageHandler.writePage(PageHandler.java:342)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.DataStructure.write(DataStructure.java:261)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.access$11100(BPlusTree.java:81)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$Put.tryInsert(BPlusTree.java:2859)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$Put.access$7600(BPlusTree.java:2547)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.putDown(BPlusTree.java:2285)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.putDown(BPlusTree.java:2266)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.putDown(BPlusTree.java:2266)
~[stormjar.jar:?]</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.doPut(BPlusTree.java:2006)
~[stormjar.jar:?]</div></span></div>
<div><span><br></span></div><div>I had only a node running
ignite server. others are all in client mode.</div><div>I start ignite server
with -Xms10g -Xmx10g and set default region size 30G. disable persistence, disable on-heap
cache.</div><div><br></div><div>also find this using visorcmd
with command "node "</div><div><div>| Maximum active jobs &nbsp; &nbsp;
&nbsp; &nbsp; | 8 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
|</div><div>| Current active jobs &nbsp; &nbsp; &nbsp; &nbsp;
| 1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |</div><div>|
Average active jobs &nbsp; &nbsp; &nbsp; &nbsp; | 0.32 &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;|</div><div>| Maximum waiting jobs &nbsp;
&nbsp; &nbsp; &nbsp;| 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; |</div><div>| Current waiting jobs &nbsp; &nbsp; &nbsp;
&nbsp;| 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |</div><div>|
Average waiting jobs &nbsp; &nbsp; &nbsp; &nbsp;| 0.00 &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;|</div><div>| Maximum rejected jobs &nbsp;
&nbsp; &nbsp; | 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
|</div><div>| Current rejected jobs &nbsp; &nbsp; &nbsp; | 0 &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |</div><div>| Average rejected
jobs &nbsp; &nbsp; &nbsp; | 0.00 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|</div><div>|
Maximum cancelled jobs &nbsp; &nbsp; &nbsp;| 0 &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; |</div><div>| Current cancelled jobs &nbsp;
&nbsp; &nbsp;| 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
|</div><div>| Average cancelled jobs &nbsp; &nbsp; &nbsp;| 0.00 &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;|</div><div>| Total rejected jobs &nbsp;
&nbsp; &nbsp; &nbsp; | 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; |</div><div>| Total executed jobs &nbsp; &nbsp; &nbsp;
&nbsp; | 7038798 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |</div><div>| Total cancelled
jobs &nbsp; &nbsp; &nbsp; &nbsp;| 0 &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; |</div><div>| Maximum job wait time &nbsp; &nbsp;
&nbsp; | 0ms &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |</div><div>|
Current job wait time &nbsp; &nbsp; &nbsp; | 0ms &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; |</div><div>| Average job wait time &nbsp; &nbsp;
&nbsp; | 0.00ms &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|</div><div>|
Maximum job execute time &nbsp; &nbsp;| 5232ms &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|</div><div>|
Curent job execute time &nbsp; &nbsp; | 0ms &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; |</div><div>| Average job execute time &nbsp; &nbsp;| 0.03ms
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;|</div><div>| Total busy time &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | 11731204ms &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|</div><div>|
Busy time % &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
| 14.09% &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|</div><div>| Current CPU
load % &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 0.80% &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; |</div><div>| Average CPU load % &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;| 1.34% &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |</div><div>|
Heap memory initialized &nbsp; &nbsp; | 10gb &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;|</div><div>| Heap memory used &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;| 7gb &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |</div><div>|
Heap memory committed &nbsp; &nbsp; &nbsp; | 10gb &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;|</div><div>| Heap memory maximum &nbsp; &nbsp; &nbsp;
&nbsp; | 10gb &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|</div><div>|
Non-heap memory initialized | 2mb &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |</div><div>|
Non-heap memory used &nbsp; &nbsp; &nbsp; &nbsp;| 102mb &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; |</div><div>| Non-heap memory committed &nbsp; | 106mb
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; |</div><div>| Non-heap memory maximum
&nbsp; &nbsp; | 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
|</div><div>| Current thread count &nbsp; &nbsp; &nbsp; &nbsp;|
99 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|</div><div>|
Maximum thread count &nbsp; &nbsp; &nbsp; &nbsp;| 104 &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; |</div><div>| Total started thread count &nbsp;|
12725 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |</div><div>| Current daemon
thread count | 12 &nbsp; &nbsp;&nbsp;</div></div><div><br></div><div>"<span
style="line-height: 23.8px;">Heap memory committed</span><span style="line-height:
23.8px;">&nbsp;</span><span style="line-height: 1.7;">" is 10g, does it
mean it is already full? I don't know who eat up the 10G on heap memory.</span></div><div><span
style="line-height: 1.7;">I confirmed that all cached are stored in off-heap by visorcmd
"cache". anything I miss?</span></div>
<div><span><br></span></div>
<div id="ntes-pcmail-signature" style="font-family:'微软雅黑'">
    <style type="text/css">
        a#ntes-pcmail-signature-default:hover {
            text-decoration: underline;
            color: #199cff;
            cursor: pointer;
        }
        a#ntes-pcmail-signature-default:active {
            text-decoration: underline;
            color: #246fce;
            cursor: pointer;
        }
    </style>

                <div style="font-size:14px; padding: 0;  margin:0;">
                    <div style="font-family:&quot;微软雅黑&quot;; font-size:
13px; color:#000000">
    <style>
        font{
            line-height: 1.5;
        }
    </style>
<div id="ntes-pcmail-signature-default" style="font-size:14px; color:#000; text-decoration:
none;">Thanks</div><div id="ntes-pcmail-signature-default" style="font-size:14px;
color:#000; text-decoration: none;">Shawn</div>
</div>
                </div>

</div><br>
</div><div class="J-reply" style="background-color:#f2f2f2;color:black;padding-top:6px;padding-bottom:6px;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;margin-top:45px;margin-bottom:20px;font-family:'微软雅黑';">
    <div style="font-size:14px;line-height:1.5;word-break:break-all;margin-left:10px;margin-right:10px">On
<span class="mail-date">12/14/2017 07:56</span>,<a class="mail-to" style="text-decoration:none;color:#2a83f2;"
href="mailto:dmagda@apache.org">Denis Magda&lt;dmagda@apache.org&gt;</a>
wrote: </div>
</div>
<blockquote id="ntes-pcmail-quote" style="margin: 0; padding: 0; font-size: 14px; font-family:
'微软雅黑';">
Shawn, good to hear this,<div class=""><br class=""></div><div class="">Just
in case here is you can find some tips and tricks on memory and garbage collection tuning
for Ignite:</div><div class=""><span class=""><a href="https://apacheignite.readme.io/docs/durable-memory-tuning"
class="">https://apacheignite.readme.io/docs/durable-memory-tuning</a></span></div><span
class=""><a href="https://apacheignite.readme.io/docs/jvm-and-system-tuning" class="">https://apacheignite.readme.io/docs/jvm-and-system-tuning</a><br
class=""></span><span class=""><br class=""></span><div class="">—</div><div
class="">Denis</div><div class=""><br class=""><div><blockquote
type="cite" class=""><div class="">On Dec 12, 2017, at 10:50 PM, shawn.du &lt;<a
href="mailto:shawn.du@neulion.com.cn" class="">shawn.du@neulion.com.cn</a>&gt;
wrote:</div><br class="Apple-interchange-newline"><div class=""><div
style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing:
0px; -webkit-text-stroke-width: 0px; font-family: 微软雅黑; font-size: 14px; line-height:
1.7;" class=""><div class=""><div class="">Thank you Denis,</div><div
class=""><br class=""></div><div class="">I think OOM is caused by invalid
configuration. for I supposed ignite use on-heap memory, &nbsp;I set a very big value
for&nbsp;</div><div class="">-Xmx -Xms, in this way, memory left for off-heap
and other programs is limited.&nbsp;</div><div class="">We are run testing
now, till now all seems good.</div><div class=""><br class=""></div><div
id="ntes-pcmail-signature" style="font-family: 微软雅黑;" class=""><div style="font-size:
14px; padding: 0px; margin: 0px;" class=""><div style="font-family: 微软雅黑; font-size:
13px;" class=""><div id="ntes-pcmail-signature-default" style="font-size: 14px; text-decoration:
none;" class="">Thanks</div><div id="ntes-pcmail-signature-default" style="font-size:
14px; text-decoration: none;" class="">Shawn</div></div></div></div><br
class=""></div><div class="J-reply" style="background-color: rgb(242, 242, 242);
padding-top: 6px; padding-bottom: 6px; border-top-left-radius: 3px; border-top-right-radius:
3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; margin-top: 45px; margin-bottom:
20px; font-family: 微软雅黑;"><div style="font-size: 14px; line-height: 1.5; word-break:
break-all; margin-left: 10px; margin-right: 10px;" class="">On<span class="Apple-converted-space">&nbsp;</span><span
class="mail-date">12/13/2017 07:36</span>,<a class="mail-to" href="mailto:dmagda@apache.org"
style="text-decoration: none; color: rgb(42, 131, 242);">Denis Magda&lt;dmagda@apache.org&gt;</a><span
class="Apple-converted-space">&nbsp;</span>wrote:<span class="Apple-converted-space">&nbsp;</span></div></div><blockquote
id="ntes-pcmail-quote" style="margin: 0px; padding: 0px; font-size: 14px; font-family: 微软雅黑;"
class="">Shawn,<div class=""><br class=""></div><div class="">If
you still need to use the on-heap caching by some reason make sure you enabled an eviction
policy:</div><div class=""><a href="https://apacheignite.readme.io/docs/evictions#section-java-heap-cache"
class="">https://apacheignite.readme.io/docs/evictions#section-java-heap-cache</a></div><div
class=""><br class=""></div><div class="">Otherwise the on-heap cache
will grow endlessly.</div><div class=""><br class=""></div><div
class="">BTW, what kind of OOM you got? It might be off-heap or on-heap caching related.
Share the whole stack trace.</div><div class=""><br class=""></div><div
class="">—</div><div class="">Denis</div><div class=""><br
class=""><div class=""><blockquote type="cite" class=""><div class="">On
Dec 12, 2017, at 4:37 AM, slava.koptilin &lt;<a href="mailto:slava.koptilin@gmail.com"
class="">slava.koptilin@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div
class=""><div class="">Hi Shawn,<br class=""><br class=""><blockquote
type="cite" class="">how to disable off heap completely?<br class=""></blockquote>You
cannot disable off-heap. As of 2.0, Apache Ignite stores all the data<br class="">outside
of java heap.<br class=""><br class=""><blockquote type="cite" class="">does
it mean half in on-heap and half in off-heap?<br class=""></blockquote>On-heap
caching allows to get a subset of the data into java heap<br class="">and can be useful
for scenarios when you do a lot of cache reads on server<br class="">nodes that work
with cache entries in the binary form<br class="">or invoke cache entry deserialization.<br
class=""><br class="">Thanks!<br class=""><br class=""><br class=""><br
class="">--<br class="">Sent from:<span class="Apple-converted-space">&nbsp;</span><a
href="http://apache-ignite-users.70518.x6.nabble.com/" class="">http://apache-ignite-users.70518.x6.nabble.com/</a><br
class=""></div></div></blockquote></div><br class=""></div></blockquote></div><br
class="Apple-interchange-newline"></div></blockquote></div><br class=""></div></blockquote><!--😀-->
</div>
</body>
</html>
Mime
View raw message