<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Gautam Sarawagi</title>
    <description>The latest articles on DEV Community by Gautam Sarawagi (@gautamsarawagi).</description>
    <link>https://dev.to/gautamsarawagi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1091070%2F3ec186d9-08a6-4fe4-ac9c-c4541bd25ba9.png</url>
      <title>DEV Community: Gautam Sarawagi</title>
      <link>https://dev.to/gautamsarawagi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gautamsarawagi"/>
    <language>en</language>
    <item>
      <title>Help Needed !! Topojsons build error in react: Reached heap limit Allocation failed</title>
      <dc:creator>Gautam Sarawagi</dc:creator>
      <pubDate>Sat, 08 Jun 2024 09:58:01 +0000</pubDate>
      <link>https://dev.to/gautamsarawagi/need-help-with-the-use-of-topojsons-3if9</link>
      <guid>https://dev.to/gautamsarawagi/need-help-with-the-use-of-topojsons-3if9</guid>
      <description>&lt;p&gt;I am trying to develop an interactive indian map using React where I can click on the any of the states and it opens a the map of that state particulary.&lt;/p&gt;

&lt;p&gt;For this I used the topojsons of Indian map and of all the states particualy.Durign the deployement of this complete code I am gettign the error stating: 'FATAL ERROR:&lt;/p&gt;

&lt;p&gt;Reached heap limit Allocation failed - JavaScript heap out of memory'.I have added I guess a total of 30 topojson files in my code that is leading me to this error.&lt;/p&gt;

&lt;p&gt;Refrence : &lt;a href="https://github.com/amurto/react-india-region-selector"&gt;https://github.com/amurto/react-india-region-selector&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I tried to look into the cummulative size of all of the states jsons and found out it to be 5Mb.&lt;/p&gt;

&lt;p&gt;which I guess should not be an issue.&lt;/p&gt;

&lt;p&gt;I was using an svg before of 15mb for the same task but it was not working well. so shifted to this.&lt;/p&gt;

&lt;p&gt;would be great to get the assistance.&lt;/p&gt;

</description>
      <category>react</category>
      <category>topojsons</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
