<?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 ThingWorx becomes very slow after couple of months in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/ThingWorx-becomes-very-slow-after-couple-of-months/m-p/622005#M38194</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;I installed a ThingWorx testing environment in a virtual machine. I have about 100 Things in my system.&amp;nbsp; Recently the performance of Composer become very slow when I do any operation, especially for opening a mashup .&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Checking the&amp;nbsp;Tomcat's monitor (&lt;EM&gt;http://localhost:8080/manager/status&lt;/EM&gt;) , I noticed that lots of irrelevant requests when I open a entity(mashup, data table, or a thing). For example,&amp;nbsp; If I try to open a Data Table called "&lt;SPAN class="au-target entity-title" data-original-title="DeviceStationInfoTable" data-toggle="tooltip" data-ttid="tt-990bb1e3-d6b5-4852-a44d-299e74a67778"&gt;DeviceStationInfoTable&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;",&amp;nbsp; then I see the following&amp;nbsp;&lt;STRONG&gt;irrelevant &amp;nbsp;requests&lt;/STRONG&gt; :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;1084 ms 0 KB 0 KB 192.168.152.1 192.168.152.1 192.168.152.142 GET /Thingworx/Mashups/MultipleCollaspseTest5/Avatar HTTP/1.1&lt;/LI&gt;
&lt;LI&gt;106 ms 0 KB 0 KB 192.168.152.1 192.168.152.1 192.168.152.142 GET /Thingworx/Mashups/MultipleCollapseTest5_1/Avatar HTTP/1.1&lt;/LI&gt;
&lt;LI&gt;2707 ms 0 KB 0 KB 192.168.152.1 192.168.152.1 192.168.152.142 GET /Thingworx/Things/poc.njhtzd.thing.ViewModel/Avatar HTTP/1.1&lt;/LI&gt;
&lt;LI&gt;776 ms 0 KB 0 KB 192.168.152.1 192.168.152.1 192.168.152.142 GET /Thingworx/MediaEntities/poc.njhtzd.image.CompareArrow/Avatar HTTP/1.1&lt;/LI&gt;
&lt;LI&gt;69 ms 0 KB 0 KB 192.168.152.1 192.168.152.1 192.168.152.142 GET /Thingworx/Menus/poc.njhtzd.menu.compare.SubOperation/Avatar HTTP/1.1&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I'm sure the above requests are&amp;nbsp;&lt;STRONG&gt;irrelevant&amp;nbsp;&lt;/STRONG&gt; because they're not even in the same project with the Data Table .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;During the period,&amp;nbsp; the CPU is 100% occupied&amp;nbsp; and the Composer has no response.&amp;nbsp; The usage of memory is about 40% .&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;ThingWorx 8.4.2&lt;/P&gt;
&lt;P&gt;Windows Server 2016&lt;/P&gt;
&lt;P&gt;CPU:&amp;nbsp; i7-8750H 2 cores&lt;/P&gt;
&lt;P&gt;Memory: 4G&lt;/P&gt;
&lt;P&gt;Disk:&amp;nbsp; SSD&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 10 Aug 2019 15:21:39 GMT</pubDate>
    <dc:creator>seanccc</dc:creator>
    <dc:date>2019-08-10T15:21:39Z</dc:date>
    <item>
      <title>ThingWorx becomes very slow after couple of months</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/ThingWorx-becomes-very-slow-after-couple-of-months/m-p/622005#M38194</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;I installed a ThingWorx testing environment in a virtual machine. I have about 100 Things in my system.&amp;nbsp; Recently the performance of Composer become very slow when I do any operation, especially for opening a mashup .&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Checking the&amp;nbsp;Tomcat's monitor (&lt;EM&gt;http://localhost:8080/manager/status&lt;/EM&gt;) , I noticed that lots of irrelevant requests when I open a entity(mashup, data table, or a thing). For example,&amp;nbsp; If I try to open a Data Table called "&lt;SPAN class="au-target entity-title" data-original-title="DeviceStationInfoTable" data-toggle="tooltip" data-ttid="tt-990bb1e3-d6b5-4852-a44d-299e74a67778"&gt;DeviceStationInfoTable&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;",&amp;nbsp; then I see the following&amp;nbsp;&lt;STRONG&gt;irrelevant &amp;nbsp;requests&lt;/STRONG&gt; :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;1084 ms 0 KB 0 KB 192.168.152.1 192.168.152.1 192.168.152.142 GET /Thingworx/Mashups/MultipleCollaspseTest5/Avatar HTTP/1.1&lt;/LI&gt;
&lt;LI&gt;106 ms 0 KB 0 KB 192.168.152.1 192.168.152.1 192.168.152.142 GET /Thingworx/Mashups/MultipleCollapseTest5_1/Avatar HTTP/1.1&lt;/LI&gt;
&lt;LI&gt;2707 ms 0 KB 0 KB 192.168.152.1 192.168.152.1 192.168.152.142 GET /Thingworx/Things/poc.njhtzd.thing.ViewModel/Avatar HTTP/1.1&lt;/LI&gt;
&lt;LI&gt;776 ms 0 KB 0 KB 192.168.152.1 192.168.152.1 192.168.152.142 GET /Thingworx/MediaEntities/poc.njhtzd.image.CompareArrow/Avatar HTTP/1.1&lt;/LI&gt;
&lt;LI&gt;69 ms 0 KB 0 KB 192.168.152.1 192.168.152.1 192.168.152.142 GET /Thingworx/Menus/poc.njhtzd.menu.compare.SubOperation/Avatar HTTP/1.1&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I'm sure the above requests are&amp;nbsp;&lt;STRONG&gt;irrelevant&amp;nbsp;&lt;/STRONG&gt; because they're not even in the same project with the Data Table .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;During the period,&amp;nbsp; the CPU is 100% occupied&amp;nbsp; and the Composer has no response.&amp;nbsp; The usage of memory is about 40% .&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;ThingWorx 8.4.2&lt;/P&gt;
&lt;P&gt;Windows Server 2016&lt;/P&gt;
&lt;P&gt;CPU:&amp;nbsp; i7-8750H 2 cores&lt;/P&gt;
&lt;P&gt;Memory: 4G&lt;/P&gt;
&lt;P&gt;Disk:&amp;nbsp; SSD&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Aug 2019 15:21:39 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/ThingWorx-becomes-very-slow-after-couple-of-months/m-p/622005#M38194</guid>
      <dc:creator>seanccc</dc:creator>
      <dc:date>2019-08-10T15:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: ThingWorx becomes very slow after couple of months</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/ThingWorx-becomes-very-slow-after-couple-of-months/m-p/622006#M38195</link>
      <description>&lt;P&gt;How much memory is assigned to JVM with -Xmx -Xms parameters.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try increase machine's memory and assign about 75 percent what you have left when Tomcat is not running to JVM.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With 16GB machine we use about 10GB for JVM.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before that we had a lot of problems with stability.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try increase number of CPU cores as well. Thingworx Platform is getting greedier and greedier.&lt;/P&gt;
&lt;P&gt;Number of Things is not that relevant, depends what is in them. You can have tens of thousands of things if you have like 2 numeric properties. Or you can have 100 things with 100 infotable properties with 10k records in them.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Aug 2019 15:05:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/ThingWorx-becomes-very-slow-after-couple-of-months/m-p/622006#M38195</guid>
      <dc:creator>tcoufal</dc:creator>
      <dc:date>2019-08-10T15:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: ThingWorx becomes very slow after couple of months</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/ThingWorx-becomes-very-slow-after-couple-of-months/m-p/622018#M38196</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/281068"&gt;@tcoufal&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you, I increased the&amp;nbsp;&lt;SPAN&gt;-Xmx -Xms to 7000m and assigned 4 cores to the VM , not the performance is much better.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sean&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Aug 2019 02:20:16 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/ThingWorx-becomes-very-slow-after-couple-of-months/m-p/622018#M38196</guid>
      <dc:creator>seanccc</dc:creator>
      <dc:date>2019-08-11T02:20:16Z</dc:date>
    </item>
  </channel>
</rss>

