<p>Windows 7 Home Premium can only address 16 GB of RAM. To go higher you need to buy Windows 7 Professional, Enterprise, or Ultimate (if you can still get them), or Windows 10. From the Microsoft website:</p>
<h2>Physical Memory Limits: Windows 7</h2>
<p>The following table specifies the limits on physical memory for Windows 7.</p>
<table summary="table">
<tbody>
<tr><th scope="col">Version</th><th scope="col">Limit on X86</th><th scope="col">Limit on X64</th></tr>
<tr>
<td data-th="Version">Windows 7 Ultimate</td>
<td data-th="Limit on X86">
<p>4 GB</p>
</td>
<td data-th="Limit on X64">
<p>192 GB</p>
</td>
</tr>
<tr>
<td data-th="Version">Windows 7 Enterprise</td>
<td data-th="Limit on X86">
<p>4 GB</p>
</td>
<td data-th="Limit on X64">
<p>192 GB</p>
</td>
</tr>
<tr>
<td data-th="Version">Windows 7 Professional</td>
<td data-th="Limit on X86">
<p>4 GB</p>
</td>
<td data-th="Limit on X64">
<p>192 GB</p>
</td>
</tr>
<tr>
<td data-th="Version">Windows 7 Home Premium</td>
<td data-th="Limit on X86">
<p>4 GB</p>
</td>
<td data-th="Limit on X64">
<p>16 GB</p>
</td>
</tr>
<tr>
<td data-th="Version">Windows 7 Home Basic</td>
<td data-th="Limit on X86">
<p>4 GB</p>
</td>
<td data-th="Limit on X64">
<p>8 GB</p>
</td>
</tr>
<tr>
<td data-th="Version">Windows 7 Starter</td>
<td data-th="Limit on X86">
<p>2 GB</p>
</td>
<td data-th="Limit on X64">
<p>N/A</p>
</td>
</tr>
</tbody>
</table>
<p>In any event, the 12 GB you had before should have allowed your computer to run well, so that can't explain why it slowed to a crawl. You seem to be saying that when you cleaned out some of the dust the computer did speed up to some extent. That might mean you need to clean it more thoroughly. Also, as long as you have the case open, turn on the computer and check to make sure all the fans are running. In particular, if the fan that exhausts the case or the fan on the CPU cooling fins isn't running, the CPU may overheat, causing it to automatically slow down. Of course there are many other things that can cause a computer to slow down. It's a good idea to use the Task Manager to see if there's a process that's using a lot of resources. I've also found that if an update for the operating system or for a browser such as Firefox has been downloaded but not yet installed, that can make the computer very slow.</p>
<p> </p>