<?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: Size of Programming Objects in Dynatrace tips</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-tips/Size-of-Programming-Objects/m-p/202135#M682</link>
    <description>&lt;P&gt;thanks for laying this out&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/17213"&gt;@AntonioSousa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jan 2023 21:06:37 GMT</pubDate>
    <dc:creator>ChadTurner</dc:creator>
    <dc:date>2023-01-10T21:06:37Z</dc:date>
    <item>
      <title>Size of Programming Objects</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Size-of-Programming-Objects/m-p/198775#M626</link>
      <description>&lt;P&gt;This is a tip not about Dynatrace, but about how many memory our programming languages use today.&lt;/P&gt;
&lt;P&gt;One of the biggest surprises is how much memory even simple types use. Consider the following languages:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;JAVA (64 bits)
&lt;UL&gt;
&lt;LI&gt;A Boolean takes 16 bytes!&lt;/LI&gt;
&lt;LI&gt;An Integer also takes 16 bytes&lt;/LI&gt;
&lt;LI&gt;A double takes 24 bytes&lt;/LI&gt;
&lt;LI&gt;Link: &lt;A href="https://www.justinblank.com/notebooks/javaobjectsize.html" target="_blank" rel="noopener"&gt;https://www.justinblank.com/notebooks/javaobjectsize.html&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Python 3
&lt;UL&gt;
&lt;LI&gt;A float takes 24 bytes...&lt;/LI&gt;
&lt;LI&gt;A Boolean takes 28 bytes!&lt;/LI&gt;
&lt;LI&gt;An integer takes 28 bytes&lt;/LI&gt;
&lt;LI&gt;A string "1" takes 50 bytes!!!&lt;/LI&gt;
&lt;LI&gt;Link: &lt;A href="https://code.tutsplus.com/tutorials/understand-how-much-memory-your-python-objects-use--cms-25609" target="_blank" rel="noopener"&gt;https://code.tutsplus.com/tutorials/understand-how-much-memory-your-python-objects-use--cms-25609&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Didn't find a quick link for .Net, but it's similar. Of course, C &amp;amp; Assembly are another story...&lt;/P&gt;
&lt;P&gt;There are tricks around this, but as it goes, memory usage is surprisingly high in today's environments...&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 08:03:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Size-of-Programming-Objects/m-p/198775#M626</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2022-11-21T08:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Size of Programming Objects</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Size-of-Programming-Objects/m-p/202135#M682</link>
      <description>&lt;P&gt;thanks for laying this out&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/17213"&gt;@AntonioSousa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 21:06:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Size-of-Programming-Objects/m-p/202135#M682</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2023-01-10T21:06:37Z</dc:date>
    </item>
  </channel>
</rss>

