Jump to content

Make Firefox Faster By Putting Profile and SQLite Database in RAMDisk


Batu69

Recommended Posts

Before implementing this solution, you should first check the current size of the Firefox profile folder and available memory on your computer to be sure that it is possible to allocate enough memory for Firefox profile folder. Run Task Manager by simultaneously pressing Ctrl+Shift+Esc and go to Performance tab. Click on Memory and take note of the available memory.

available-memory.png

 

Next, you’ll need to check the size of Firefox’s profile folder. Press Win+R to bring up the Run window, type %appdata%\Mozilla\Firefox\Profiles and click OK. Right click on the folder that you see and select Properties. Check the size of the profile folder.

 

firefox-profile-folder-size.png

 


If you have sufficient available memory for Firefox profile folder, then go ahead and follow the steps below to super speed your Firefox web browser.

 

Creating and Configuring the RAM Disk

We’ll be using SoftPerfect RAM Disk because it is free and offers the fastest. :)

1.Download SoftPerfect RAM Disk -> https://www.softperfect.com/products/ramdisk/

2. Run SoftPerfect RAM Disk.

3. Click on Image at the menubar and select Create Image.

4. Click on the folder icon, select the path, enter a filename for the image and click Save.

5. As for the Size, enter an amount that is larger than the Firefox profile folder size because the database gets bigger over time but also not too much making sure that there are sufficient available memory for Windows as well.

softperfect-ramdisk-create-image.png

6. Select NTFS for file system and click OK.

7. After the image has been created, click on Disk at the menubar and select Add.

8. Click on the folder icon to locate the image file that you’ve created earlier, select an unused drive letter, check Save Contents to Image and click Advanced button.

ramdisk-add-edit-disk.png

9. At the Advanced Disk Properties window, check Save contents to associated image every, min and input a number of minutes that you’d like SoftPerfect RAM Disk to automatically save the contents in RAM Disk to the image file and click OK.

save-contents-to-image.png


Click OK again to close the Add/Edit Disk window. SoftPerfect RAM Disk will start mounting the image file. After mounting, you should now see an extra drive letter appear in Windows Explorer. That is the RAM Disk that has very fast read and write speed where you’ll be moving the Firefox profile folder to.

ramdisk-in-explorer.png

Putting the Firefox Profile onto the RAM Disk

1. Press Win+R to bring up the Run window.

2. Type %appdata%\Mozilla\Firefox and hit Enter.

3. Open the profiles.ini file with your favorite text editor such as Notepad or Notepad++.

4. Change IsRelative=1 to IsRelative=0. (Number zero)

5. Change the Path=Profiles/xxxxxxxx.default to Path=R:\Profiles\xxxxxxxx.default (Replace the drive letter and xxxxxxxx accordingly), save the changes and close the text editor.

change-firefox-profiles.png

6. Back in the Windows Explorer, right click at the Profiles folder and select Copy.

7. Still in Windows Explorer, navigate to the drive letter that you’ve created with SoftPerfect RAM Disk. Right click on an empty space and select Paste. Alternatively you can also click on the Paste button from the ribbon menu. This will make a copy of your Firefox Profile folder from the original location to the RAM disk.

paste-copied-folder.png

You can now run Firefox as usual and it will automatically load the profile from the super fast RAM disk.

Important Notes:

1. Firefox cache files are still stored on your hard drive and not in RAM disk so you don’t have to worry about the space in RAM disk running out really fast due to cache files. The Firefox profile is located under the Roaming folder in AppData while the cache is under Local folder in AppData.

2. The image created with SoftPerfect RAM Disk may not be up to date if it didn’t manage to get saved in time based on the setting that you’ve entered in step 9 for creating and configuring the RAM Disk section. You can however manually force to save the contents in ramdisk to image by right clicking on the mounted disk and select “Save to Image”.

ramdisk-save-to-image.png

Alternatively, you can also automate this process by running a batch file containing the following command line:

 

“C:\Program Files\SoftPerfect RAM Disk\ramdiskws.exe” /save:all

 

3. It is not possible to change the size of the image that you’ve created with SoftPerfect RAM Disk. If you are running out of RAM disk space, you will need to recreate a new image with a larger size and re-copy the Profile folder from the RAM disk to the new mounted disk.

 

Credit to: https://www.raymond.cc/blog/

Link to comment
Share on other sites


  • Replies 3
  • Views 1.9k
  • Created
  • Last Reply

Come across ram drive few months back, was planning to use, but totally forgot

we can also use a portable firefox installed inside Ramdrive

Link to comment
Share on other sites


On 4/28/2015 at 9:27 AM, hackerz14 said:

how about other browsers? like chrome based browsers.

:think: I think no need because chrome based browser already fast.

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...