<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: java.lang.OutOfMemoryError in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/java-lang-outofmemoryerror/m-p/88460#M9441</link>
    <description>&lt;P&gt;Usually, this error is thrown when the &lt;A href="http://net-informations.com/java/intro/jvm.htm" target="_blank" rel="nofollow noreferrer noopener"&gt;Java Virtual Machine&lt;/A&gt; cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.&lt;/P&gt;&lt;P&gt;Therefore you pretty much have two options:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Increase the default memory your program is allowed to use using the -Xmx option (for instance for 1024 MB: -Xmx1024m)&lt;/LI&gt;	&lt;LI&gt;Modify your program so that it needs less memory, using less big data structures and getting rid of objects that are not any more used at some point in your program&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Increasing the heap size is a bad solution, 100% temporary. It will crash again in somewhere else. To avoid these issues, write high performance code.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use local variables wherever possible.&lt;/LI&gt;	&lt;LI&gt;Make sure you select the correct object (EX: Selection between String, StringBuffer and StringBuilder)&lt;/LI&gt;	&lt;LI&gt;Use a good code system for your program(EX: Using static variables VS non static variables)&lt;/LI&gt;	&lt;LI&gt;Other stuff which could work on your code.&lt;/LI&gt;	&lt;LI&gt;Try to move with Multy Threading&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jan 2021 15:22:52 GMT</pubDate>
    <dc:creator>jefryarch</dc:creator>
    <dc:date>2021-01-06T15:22:52Z</dc:date>
    <item>
      <title>java.lang.OutOfMemoryError</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/java-lang-outofmemoryerror/m-p/88456#M9437</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I get the ERROR "java.lang.OutOfMemoryError" and I found only  the description from 2015, is it valid again.&lt;BR /&gt;
Because my nsserver.cfg is like this:&lt;BR /&gt;
&lt;BR /&gt;
 -Xms12g -Xmx18g -XX:MetaspaceSize=128m -Djava.awt.headless=true -XX:HeapDumpPath=../../nsdump.hprof -XX:+HeapDumpOnOutOfMemoryError&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
Bernd</description>
      <pubDate>Tue, 30 Jul 2019 15:59:29 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/java-lang-outofmemoryerror/m-p/88456#M9437</guid>
      <dc:creator>Bernd_Gruetzke</dc:creator>
      <dc:date>2019-07-30T15:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/java-lang-outofmemoryerror/m-p/88457#M9438</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Check below KBs:&lt;BR /&gt;
&lt;BR /&gt;
https://gtacknowledge.extremenetworks.com/articles/Solution/NetSight-Server-process-crash-with-java-lang-OutOfMemoryError&lt;BR /&gt;
&lt;BR /&gt;
https://gtacknowledge.extremenetworks.com/articles/Solution/NetSight-server-crashing-with-java-lang-OutOfMemoryError-PermGen-space&lt;BR /&gt;
&lt;BR /&gt;
https://gtacknowledge.extremenetworks.com/articles/Solution/The-NetSight-Server-is-running-low-on-heap-memory-90-used&lt;BR /&gt;
&lt;BR /&gt;
DILRAJ</description>
      <pubDate>Tue, 30 Jul 2019 16:05:17 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/java-lang-outofmemoryerror/m-p/88457#M9438</guid>
      <dc:creator>Dilraj_Singh_Kh</dc:creator>
      <dc:date>2019-07-30T16:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/java-lang-outofmemoryerror/m-p/88458#M9439</link>
      <description>Hi Dilraj&lt;BR /&gt;
&lt;BR /&gt;
thanks for your prompt replay, I will change my configuration and check the logfile.&lt;BR /&gt;
&lt;BR /&gt;
Bernd</description>
      <pubDate>Tue, 30 Jul 2019 16:58:53 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/java-lang-outofmemoryerror/m-p/88458#M9439</guid>
      <dc:creator>Bernd_Gruetzke</dc:creator>
      <dc:date>2019-07-30T16:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/java-lang-outofmemoryerror/m-p/88459#M9440</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
Make sure that your memory settings following the guidelines defined here if running 8.x:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://gtacknowledge.extremenetworks.com/articles/Solution/EMC-memory-settings" target="_blank" rel="nofollow noreferrer noopener"&gt;https://gtacknowledge.extremenetworks.com/articles/Solution/EMC-memory-settings&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
-Ryan</description>
      <pubDate>Tue, 30 Jul 2019 19:26:50 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/java-lang-outofmemoryerror/m-p/88459#M9440</guid>
      <dc:creator>Ryan_Yacobucci</dc:creator>
      <dc:date>2019-07-30T19:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/java-lang-outofmemoryerror/m-p/88460#M9441</link>
      <description>&lt;P&gt;Usually, this error is thrown when the &lt;A href="http://net-informations.com/java/intro/jvm.htm" target="_blank" rel="nofollow noreferrer noopener"&gt;Java Virtual Machine&lt;/A&gt; cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.&lt;/P&gt;&lt;P&gt;Therefore you pretty much have two options:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Increase the default memory your program is allowed to use using the -Xmx option (for instance for 1024 MB: -Xmx1024m)&lt;/LI&gt;	&lt;LI&gt;Modify your program so that it needs less memory, using less big data structures and getting rid of objects that are not any more used at some point in your program&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Increasing the heap size is a bad solution, 100% temporary. It will crash again in somewhere else. To avoid these issues, write high performance code.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use local variables wherever possible.&lt;/LI&gt;	&lt;LI&gt;Make sure you select the correct object (EX: Selection between String, StringBuffer and StringBuilder)&lt;/LI&gt;	&lt;LI&gt;Use a good code system for your program(EX: Using static variables VS non static variables)&lt;/LI&gt;	&lt;LI&gt;Other stuff which could work on your code.&lt;/LI&gt;	&lt;LI&gt;Try to move with Multy Threading&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 15:22:52 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/java-lang-outofmemoryerror/m-p/88460#M9441</guid>
      <dc:creator>jefryarch</dc:creator>
      <dc:date>2021-01-06T15:22:52Z</dc:date>
    </item>
  </channel>
</rss>

