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 Wed, 13 Dec 2017 06:50:22 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>Thank you Denis,</div><div><br></div><div>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>-Xmx -Xms, in this way, memory left
for off-heap and other programs is limited.&nbsp;</div><div>We are run testing
now, till now all seems good.</div>
<div><br></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/13/2017 07:36</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,<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><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: <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>
</body>
</html>
Mime
View raw message