<?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: Moataz Mohammady</title>
    <description>The latest articles on DEV Community by Moataz Mohammady (@moatazabdalmageed).</description>
    <link>https://dev.to/moatazabdalmageed</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%2F302592%2F8bae4fd0-1024-454e-aee2-df932e0473ab.jpg</url>
      <title>DEV Community: Moataz Mohammady</title>
      <link>https://dev.to/moatazabdalmageed</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/moatazabdalmageed"/>
    <language>en</language>
    <item>
      <title>Windows BLUE SCREEN</title>
      <dc:creator>Moataz Mohammady</dc:creator>
      <pubDate>Thu, 22 Oct 2020 10:28:39 +0000</pubDate>
      <link>https://dev.to/moatazabdalmageed/windows-blue-screen-299i</link>
      <guid>https://dev.to/moatazabdalmageed/windows-blue-screen-299i</guid>
      <description>&lt;p&gt;I got windows blue screen with different status &lt;/p&gt;

&lt;p&gt;STATUS_ACCESS_VIOLATION&lt;br&gt;
STATUS_HEAP_CORRUPTION&lt;br&gt;
dpc watched violation&lt;/p&gt;

&lt;p&gt;multi times I thought there are an issue with the laptop hardware like memory but I noticed this because infinity loop occurs after made graphql mutation!!&lt;/p&gt;

&lt;p&gt;so I'm searching how to avoid this behavior.&lt;/p&gt;

&lt;p&gt;this is my second time I face this situation first time was &lt;a href="https://dev.to/moatazabdalmageed/machine-freeing-while-developing-react-app-4919"&gt;https://dev.to/moatazabdalmageed/machine-freeing-while-developing-react-app-4919&lt;/a&gt;&lt;/p&gt;

</description>
      <category>graphql</category>
    </item>
    <item>
      <title>Machine freezing while developing react app</title>
      <dc:creator>Moataz Mohammady</dc:creator>
      <pubDate>Sun, 16 Feb 2020 14:41:30 +0000</pubDate>
      <link>https://dev.to/moatazabdalmageed/machine-freeing-while-developing-react-app-4919</link>
      <guid>https://dev.to/moatazabdalmageed/machine-freeing-while-developing-react-app-4919</guid>
      <description>&lt;p&gt;last week my machine start hanging while I'm  developing react app.&lt;/p&gt;

&lt;p&gt;Machine specifications&lt;br&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--X66u_yFn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/rbdglb4g5anap7fe2nb1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--X66u_yFn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/rbdglb4g5anap7fe2nb1.png" alt="Alt Text" width="800" height="624"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I thought this happening because :-&lt;/p&gt;

&lt;p&gt;1) I'm using PHPSTORM (for the back end) and webstorm (for frontend) so I restarted my machine and didn't open any of those IDEs and started the application via chrome / Firefox but also freezed.&lt;/p&gt;

&lt;p&gt;2) My coworker asked me to install &lt;a href="https://www.npmjs.com/package/gtop"&gt;https://www.npmjs.com/package/gtop&lt;/a&gt; and check the processes, also we checked the pc cooling system but also freezed.&lt;/p&gt;

&lt;p&gt;3) I disabled all chrome extensions using this extension &lt;a href="https://chrome.google.com/webstore/detail/disable-extensions-tempor/lcfdefmogcogicollfebhgjiiakbjdje"&gt;https://chrome.google.com/webstore/detail/disable-extensions-tempor/lcfdefmogcogicollfebhgjiiakbjdje&lt;/a&gt; but also freezed.&lt;/p&gt;

&lt;p&gt;Today (first work day)&lt;br&gt;
3) I write down this script  &lt;a href="https://gist.github.com/MoatazAbdAlmageed/10af8fb6e587dcd9b2039fd8f4ff1c85"&gt;https://gist.github.com/MoatazAbdAlmageed/10af8fb6e587dcd9b2039fd8f4ff1c85&lt;/a&gt; to  kill chrome if available memory less than 1GB and when I start developing I found chrome hanging and closed when I pressed a button &lt;/p&gt;

&lt;p&gt;Finally I noticed that I typed bad reducer behavior that made like an  infinity loop :) that's it &lt;/p&gt;

&lt;p&gt;I think this can help in cases like this &lt;a href="https://github.com/facebook/react/issues/5375"&gt;https://github.com/facebook/react/issues/5375&lt;/a&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>webdev</category>
      <category>hardware</category>
      <category>bash</category>
    </item>
  </channel>
</rss>
