ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shawn.du" <shawn...@neulion.com.cn>
Subject memory usage in 2.3
Date Tue, 12 Dec 2017 10:13:07 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>Hi,</div><div><br></div><div>I upgrade my ignite
version from 1.9 to 2.3.&nbsp;</div><div>In 1.9, We store all data in memory.
I know that in ignite 2.0+, ignite use off-heap memory by default.</div><div><span
style="line-height: 1.7;">so I change my code like below: &nbsp;</span></div><div><br></div><div>config.setOnheapCacheEnabled(true);</div><div><br></div><div><span
style="line-height: 1.7;">but after running several hours, my server is crash for OOM.</span></div><div>running
again, I find ignite server's RES memory grows as time go.</div><div><br></div><div>run
visorcmd, for &nbsp;column "Entries (Heap / Off-heap)"</div><div>most looks
like this:&nbsp;</div><div>avg: 4606.00 (2303.00 / 2303.00)</div><div>avg:
44973.33 (22486.67 / 22486.67)</div><div><br></div><div>what
does this mean? &nbsp;does it mean half in on-heap and half in off-heap?</div><div><br></div><div>how
to disable off heap completely?</div><div><br></div><div><span
style="line-height: 1.7;">Thanks</span></div><div id="ntes-pcmail-signature"
style="font-family:'微软雅黑'"><div style="font-size:14px; padding: 0;  margin:0;"><div
style="font-family:&quot;微软雅黑&quot;; font-size: 13px; color:#000000"><div
id="ntes-pcmail-signature-default" style="font-size:14px; color:#000; text-decoration: none;">Shawn</div>
</div>
                </div>

</div><br>
<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><style>
        font{
            line-height: 1.5;
        }
    </style><!--😀-->
</div>
</body>
</html>
Mime
View raw message