:tools: Scheduled maintenance

Heads up! Downtime for the Forums, related to the NodeBB upgrade, is planned for Thursday, December 14, starting from 10:00 UTC.
Please make sure to finish all your posts before this time. The downtime should only last for a few minutes.

[Solved]How to limit disk cache size

  • Hello,
    How can I change the cache size? Settings > Preferences > Advanced > History is no longer there. I am using:
    Version: 47.0.2631.55 (PGO) - Opera is up to date
    Update stream: Stable
    System: Windows 8.1 64-bit
    Opera is using more than 4 GB of RAM (50 opened tabs, with delayed loading after start) and I found that if you limit the cache disk size it improves. My current cache folder size is 30 MB.

    1. How can I permanently limit it to 4 MB?
    2. Also using process-per-site switch should help. Do you have any ideas if it will help or not? Will the browser be stable with the switch? Thanks.
  • You need to use a command line. Do a search for Chromium command lines to find which one to use.

  • Yes, I found the switch list,thank you. But how can I make the switch permanent, so I do not have to start Opera from command line every time? I found an example, but I do not understand how to make it work. Could you be so kind and explain how to do it? "You have to right-click on the Opera icon in the taskbar on Windows (or Start Menu, or Desktop), and either select properties right away, or right-click on Opera again before properties becomes available.

    Add the startup parameters to the end of the target field, and make sure that there is a space between Opera's file path and name, and the parameters."

    Here is an example: "C:\Program Files (x86)\Opera Developer\launcher.exe" --enable-low-end-device-mode

    I do not get what is meant by target field. Is it the field I can modify in Properties window when right-clicking on opera launcer.exe? That would rename the launcher to launcher.exe --enable-low-end-device-mode. Thanks.

  • But how can I make the switch permanent, so I do not have to start Opera from command line every time?

    You will always need to use the command line, there is no setting related to it.

    I do not get what is meant by target field. Is it the field I can modify in Properties window when right-clicking on opera launcer.exe?

    You need to create a shortcut to that file and in the shortcut properties you will find the target field.

  • Thanks leocg, it was simple. I added following to the shortcut´s target field: "C:\Program Files\Opera\launcher.exe" --process-per-site --disk-cache-size=10485760 --disable-gpu --in-process-gpu
    I also disabled Facebook's integration with apps, games and other websites:
    Click on the small arrow in the top-right corner of Facebook and select Settings
    Click Apps in the left side menu
    Go to Apps, Websites and Plugins, click Edit and then Disable Platform

    Facebook is huge consumer of memmory as the other websites keep interacting in the background with the widget. These two steps reduced RAM usage by 2 GB. It now uses only 50 %.
    Thank you again for your heplp.

  • Another thing may help to others also. I transferred some pinned tabs which used the most RAM (in my case gmail, google maps and youtube windows) to bookmarks bar at the top part of opera window. That freed some 10 % of RAM. To see, which pages use the most RAM press SHIFT+ESC.

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.