Pale Moon 24.0.2: Limited cache won't be cleaned up

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.
Please direct questions that are Mac or Linux-specific (dealing with installation and OS integration) to the appropriate Linux or Mac board.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only. The main focus here is on Pale Moon on Windows. Please direct your questions that are specific for Linux and Mac to the dedicated boards for those operating systems.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Locked
KNTRO

Pale Moon 24.0.2: Limited cache won't be cleaned up

Post by KNTRO » 2013-10-13, 02:51

Hi all,

I want to report an issue with Pale Moon's cache management.

Operating system: Windows XP Professional SP3 32 bits
Browser version: 24.0.2
32-bit or 64-bit?: 32 bits
Problem URL: N/A
Theme: Let It Fly… by candelora
Installed add-ons: Enabled: Abduction! 3.5.0, about:addons-memory 7, about:me 0.5, Adblock Plus 2.4, Adblock Plus Pop-up Addon 0.9.1, Add-on Compatibility Reporter 2.0.1, AOL Favorites 1.1.44, Awesome Screenshot: Capture And Annotate 2.4.0.1, Black Youtube 4.9, Classic Toolbar Buttons 1.3.1, Collusion 0.27, Flagfox 4.2.13, Flash Video Download 4.0.0, Ghostery 5.0.5rc1, Live HTTP headers 0.17, Personas Plus 1.7.2.1, RefControl 0.8.16, ReloadEvery 17.0.0, Stylish 1.3.3, User Agent Switcher 0.7.3, Visor de PDF 0.8.298; Disabled: App Button Clear 1.1, App Button Color 1.0, App Button No Text 1.2, MSN for Firefox 1.1, Tab Auto Reload 0.0.0.6m and Twitbin 3.3.5.
Installed plugins: (about:plugins) Shockwave Flash, Microsoft DRM [x2] and Windows Media Player Plug-in Dynamic Link Library.

The problem is about how Pale Moon manages cache. I limited Pale Moon to use up to 100 MB of cache. Thing is it will not clean older cached elements. The cache gets stuck at 99.9% or 100% often and it won't erase the oldest cached items to store temporally new content, no matter how much time happens after this. So I have to clean cache manually, which becomes a pain in the ass, as I don't want to give it more space just for trash, temporary files.

Any idea on how to solve this?

Thanks in advance.

UPDATED:
Included here the Pale Moon's troubleshooting information:
Esenciales de la aplicación
---------------------------

Nombre: Pale Moon
Versión: 24.0.2
Agente de usuario: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20130925 Firefox/24.0 PaleMoon/24.0.2

Extensiones
-----------

Nombre: Abduction!
Versión: 3.5.0
Habilitada: true
ID: {b0e1b4a6-2c6f-4e99-94f2-8e625d7ae255}

Nombre: about:addons-memory
Versión: 7
Habilitada: true
ID: about-addons-memory@tn123.org

Nombre: about:me
Versión: 0.5
Habilitada: true
ID: aboutme@test.mozilla.com

Nombre: Adblock Plus
Versión: 2.4
Habilitada: true
ID: {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}

Nombre: Adblock Plus Pop-up Addon
Versión: 0.9.1
Habilitada: true
ID: adblockpopups@jessehakanen.net

Nombre: Add-on Compatibility Reporter
Versión: 2.0.1
Habilitada: true
ID: compatibility@addons.mozilla.org

Nombre: AOL Favorites
Versión: 1.1.44
Habilitada: true
ID: favorites.extension@aol.com

Nombre: Awesome screenshot: Capture and Annotate
Versión: 2.4.0.1
Habilitada: true
ID: jid0-GXjLLfbCoAx0LcltEdFrEkQdQPI@jetpack

Nombre: Black Youtube
Versión: 4.9
Habilitada: true
ID: {2c93446d-612b-416d-9af0-b7355797b611}

Nombre: British English Dictionary
Versión: 1.19.1
Habilitada: true
ID: en-GB@dictionaries.addons.mozilla.org

Nombre: Classic Toolbar Buttons
Versión: 1.3.1
Habilitada: true
ID: CSTBB@NArisT2_Noia4dev

Nombre: Collusion
Versión: 0.27
Habilitada: true
ID: jid1-F9UJ2thwoAm5gQ@jetpack

Nombre: Flagfox
Versión: 4.2.13
Habilitada: true
ID: {1018e4d6-728f-4b20-ad56-37578a4de76b}

Nombre: Flash Video Downloader
Versión: 4.0.0
Habilitada: true
ID: artur.dubovoy@gmail.com

Nombre: Ghostery
Versión: 5.0.5rc1
Habilitada: true
ID: firefox@ghostery.com

Nombre: Live HTTP headers
Versión: 0.17
Habilitada: true
ID: {8f8fe09b-0bd3-4470-bc1b-8cad42b8203a}

Nombre: Personas Plus
Versión: 1.7.2.1
Habilitada: true
ID: personas@christopher.beard

Nombre: RefControl
Versión: 0.8.16
Habilitada: true
ID: {455D905A-D37C-4643-A9E2-F6FEFAA0424A}

Nombre: ReloadEvery
Versión: 17.0.0
Habilitada: true
ID: {888d99e7-e8b5-46a3-851e-1ec45da1e644}

Nombre: Stylish
Versión: 1.3.3
Habilitada: true
ID: {46551EC9-40F0-4e47-8E18-8E5CF550CFB8}

Nombre: User Agent Switcher
Versión: 0.7.3
Habilitada: true
ID: {e968fc70-8f95-4ab9-9e79-304de2a71ee1}

Nombre: Visor de PDF
Versión: 0.8.298
Habilitada: true
ID: uriloader@pdf.js

Nombre: App Button Clear
Versión: 1.1
Habilitada: false
ID: appbuttonclear@mozilla.org

Nombre: App Button Color
Versión: 1.0
Habilitada: false
ID: appbuttoncolor@mozilla.org

Nombre: App Button No Text
Versión: 1.2
Habilitada: false
ID: appbuttonnotext@firefox.com

Nombre: Black Google Theme
Versión: 2.2
Habilitada: false
ID: {e9876d64-8bac-4287-bdc4-0f0c56804b4f}

Nombre: MSN for Firefox
Versión: 1.1
Habilitada: false
ID: firefoxmsn.full@microsoft.com

Nombre: Tab Auto Reload
Versión: 0.0.0.6m
Habilitada: false
ID: TabAutoReload@schuzak.jp

Nombre: Twitbin
Versión: 3.3.5
Habilitada: false
ID: ntortarolo@hotmail.com

Preferencias importantes modificadas
------------------------------------

accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 102400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.disk_cache_ssl: false
browser.fixup.alternate.enabled: false
browser.history_expire_days.mirror: 180
browser.newtab.url: about:newtab
browser.places.importBookmarksHTML: false
browser.places.smartBookmarksVersion: 4
browser.search.useDBForOrder: true
browser.startup.homepage: about:home
browser.startup.homepage_override.buildID: 20130925021446
browser.startup.homepage_override.mstone: 24.0
browser.startup.homepage_reset: http://www.msn.com/?pc=MOZM
browser.tabs.closeWindowWithLastTab: false
browser.tabs.insertRelatedAfterCurrent: true
browser.tabs.onTop: true
browser.urlbar.maxRichResults: 250
dom.mozApps.used: true
dom.w3c_touch_events.expose: false
extensions.checkCompatibility.15.4: true
extensions.checkCompatibility.nightly: true
extensions.lastAppVersion: 24.0.2
font.default.x-western: sans-serif
font.internaluseonly.changed: false
font.minimum-size.x-western: 12
font.name.monospace.x-western: Monospac821 BT
font.name.sans-serif.x-western: Sansation
font.name.serif.x-western: Bell MT
font.size.fixed.x-western: 14
general.useragent.locale: es-AR
gfx.content.azure.enabled: false
gfx.direct2d.disabled: true
keyword.URL: http://www.bing.com/search?form=MOZMLP&pc=MOZM&q=
layers.acceleration.disabled: true
network.cookie.prefsMigrated: true
network.http.max-connections: 256
network.http.max-connections-per-server: 32
network.http.max-persistent-connections-per-proxy: 32
network.prefetch-next: true
places.database.lastMaintenance: 1381400328
places.history.expiration.transient_current_max_pages: 44342
plugin.importedState: true
plugin.state.npdrmv: 0
plugin.state.npdsplay: 0
plugin.state.npwmsdrm: 0
privacy.clearOnShutdown.cookies: false
privacy.clearOnShutdown.downloads: false
privacy.clearOnShutdown.formdata: false
privacy.clearOnShutdown.history: false
privacy.clearOnShutdown.sessions: false
privacy.cpd.offlineApps: true
privacy.cpd.siteSettings: true
privacy.donottrackheader.enabled: true
privacy.sanitize.migrateFx3Prefs: true
privacy.sanitize.timeSpan: 0
security.default_personal_cert: Select Automatically
security.warn_viewing_mixed: false
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1381029916

Gráficos
--------

Descripción del adaptador: Intel(R) G33/G31 Express Chipset Family
Direct2D habilitado: Bloqueado para la versión de su driver de video.
DirectWrite habilitado: false (0.0.0.0)
Drivers del adaptador: igxprd32
Fecha del driver: 1-13-2010
GPU #2 Activa: false
ID de dispositivo: 0x29c2
ID de fabricante: 0x8086
Procesador WebGL: Google Inc. -- ANGLE (Intel(R) G33/G31 Express Chipset Family Direct3D9 vs_0_0 ps_2_0)
RAM del adaptador: Unknown
Ventanas con aceleración gráfica: 0/3 Basic
Versión del driver: 6.14.10.5218
windowLayerManagerRemote: false
AzureCanvasBackend: skia
AzureContentBackend: none
AzureFallbackCanvasBackend: cairo

JavaScript
----------

GC incremental: true

Accesibilidad
-------------

Activada: false
Impedir accesibilidad: 1

Versiones de libs
-----------------

NSPR
Versión mínima esperada: 4.10
Versión en uso: 4.10

NSS
Versión mínima esperada: 3.15.1 Basic ECC
Versión en uso: 3.15.1 Basic ECC

NSSSMIME
Versión mínima esperada: 3.15.1 Basic ECC
Versión en uso: 3.15.1 Basic ECC

NSSSSL
Versión mínima esperada: 3.15.1 Basic ECC
Versión en uso: 3.15.1 Basic ECC

NSSUTIL
Versión mínima esperada: 3.15.1
Versión en uso: 3.15.1

User avatar
satrow
Forum staff
Forum staff
Posts: 1851
Joined: 2011-09-08, 11:27

Re: Pale Moon 24.0.2: Limited cache won't be cleaned up

Post by satrow » 2013-10-13, 03:34

Does this only happen while trying to manually clear the cache, ie. there's no sign of problems in normal/extended Pale Moon usage?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29251
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Pale Moon 24.0.2: Limited cache won't be cleaned up

Post by Moonchild » 2013-10-13, 04:17

There doesn't seem to be a problem with a manual limit of the cache size. new cache elements get added properly and old elements are discarded. about:cache -> list cache entries for disk cache will display the entries and the last updated stamp for cache elements, where you can check that new elements are indeed updated properly.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

KNTRO

Re: Pale Moon 24.0.2: Limited cache won't be cleaned up

Post by KNTRO » 2013-10-13, 04:28

satrow wrote:Does this only happen while trying to manually clear the cache, ie. there's no sign of problems in normal/extended Pale Moon usage?
Hi satrow.

No. In fact, I have to clear the cache manually because Pale Moon won't work right with some websites, like Netvibes, which updates every 2 minutes or so. Pale Moon fills the cache till 100 MB and won't release old data.

I forgot to add something: I have also Mozilla Firefox 24, with its cache memory limited to 100 MB as well. And I've never had to manually deleted its cache, since Firefox cleans it by itself. For example, right now is using 27.3 MB and I haven't cleaned the Firefox cache manually ever.
Moonchild wrote:There doesn't seem to be a problem with a manual limit of the cache size. new cache elements get added properly and old elements are discarded. about:cache -> list cache entries for disk cache will display the entries and the last updated stamp for cache elements, where you can check that new elements are indeed updated properly.
Moonchild, you're right. This has nothing to do with manual limit of the cache size. I think it's more related to how Pale Moon handles the cache thing. Yeah, I know you told me that no changes were made from how Firefox manages the cache memory, but I can't realize why Firefox cleans cache deeper than Pale Moon does — if it cleans it after all. I can't tell that actually.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29251
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Pale Moon 24.0.2: Limited cache won't be cleaned up

Post by Moonchild » 2013-10-13, 04:34

I think what you are seeing is actually Firefox being less efficient by storing larger elements in the cache.

Pale Moon discards old elements as-needed when new elements would overflow the cache limit: the least likely element to be needed in the future will be removed. If Firefox actually ends up with unused cache space after continued browsing, it's discarding more than it should. A cache works like a "first in first out" buffer most of the time, and it will retain elements in the cache until it either expires by date or by having to make room for a new cache entry. Meaning: the cache level will always stay close to 100% if the cache is being used at maximum efficiency once it is filled.

If elements stored in the cache are too large for efficient use, a small new element may bump a large element out of the cache and reduce the cache size, causing unused cache space and resulting in the lower number of used cache.

EDIT: Losing about 75% of your cached data this way is pretty bad, actually. It doesn't mean that Firefox "cleans deeper", it means that Firefox actually wasted the cache space for unwanted elements to begin with.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

KNTRO

Re: Pale Moon 24.0.2: Limited cache won't be cleaned up

Post by KNTRO » 2013-10-13, 04:44

Hmph…

So, seems like Pale Moon's cache's workin' properly after all. So I don't know how to manage to make some heavy AJAX & JavaScript websites to work OK. :S If you have any tip or workaround, please just let me know. I'm gonna appreciate that a lot.

Thanks for explain me how Mozilla Firefox & Pale Moon handle the cache.

Locked