Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Memory cache OFF...

188 views
Skip to first unread message

Laurent Jumet

unread,
Mar 12, 2013, 7:09:51 AM3/12/13
to
Hello !

While in XP, it might be more efficient to use Opera with MemoryCache:OFF instead of Automatic.
Reason is that XP itself provides system cache to Opera.

Do you notice the same as I did?

--
Laurent Jumet - Point de Chat, Liᅵge, BELGIUM
KeyID: 0xCFAF704C
[Restore address to laurent.jumet for e-mail reply.]

JJ

unread,
Mar 12, 2013, 3:07:31 PM3/12/13
to
"Laurent Jumet" <1st_NAME...@skynet.be> wrote:
> Hello !
>
> While in XP, it might be more efficient to use Opera with
> MemoryCache:OFF instead of Automatic. Reason is that XP itself
> provides system cache to Opera.
>
> Do you notice the same as I did?

That's two different type of memory cache.

Opera's memory cache is for opened web pages, their objects (e.g.: script
variables, images, styles, etc.), and their states. Including closed, but
still in the closed-tab list. The cache is used when navigating backward,
forward, or restoring a closed tab. If it's set to automatic, Opera will
decide its maximum size. However, even though it's set to a fixed size or
even turned off, Opera still manage to steadily use more memory over a
long period of usage. Unless you have a relatively slow PC, turning off
the Opera's memory cache would not cause noticeable performance
difference.

The system cache on the other hand, is for disk directories and file
contents. It will only affect how fast Opera loads web pages or
js/css/jpg files from its disk cache into its own memory.

Laurent Jumet

unread,
Mar 13, 2013, 10:43:18 AM3/13/13
to

Hello JJ !

JJ <jaej...@nah.meh> wrote:

>> While in XP, it might be more efficient to use Opera with
>> MemoryCache:OFF instead of Automatic. Reason is that XP itself
>> provides system cache to Opera.
>>
>> Do you notice the same as I did?

> The system cache on the other hand, is for disk directories and file
> contents. It will only affect how fast Opera loads web pages or
> js/css/jpg files from its disk cache into its own memory.

For FlashVideo, there are at least two caches: while the tab stays open, file is in the %TEMP% directory; and from that moment download is finished we get another one in the Opera's cache directory. I suppose that RAMCache could hold a third exemplar?

--
Laurent Jumet - Point de Chat, Liège, BELGIUM

JJ

unread,
Mar 13, 2013, 6:49:30 PM3/13/13
to
"Laurent Jumet" <1st_NAME...@skynet.be> wrote:
> For FlashVideo, there are at least two caches: while the tab stays
> open, file is in the %TEMP% directory; and from that moment
> download is finished we get another one in the Opera's cache
> directory. I suppose that RAMCache could hold a third exemplar?

Audio/Video files (aka. medias) are not placed into memory/RAM cache.

For medias handled by Opera builtin media player, Opera use stream buffer
in memory or from disk for playback (depending on the streaming setting).
Media files are also put into disk cache and is limited by the media cache
setting.

For medias handled by plugins, it depends on the plugin design. They decide
whether loaded media should be cached into disk or not. Plugins do not have
access to Opera memory cache and multimedia stream buffer. They use their
own memory for media playback.

Laurent Jumet

unread,
Mar 16, 2013, 3:21:38 AM3/16/13
to

Hello JJ !

JJ <jaej...@nah.meh> wrote:

>> While in XP, it might be more efficient to use Opera with
>> MemoryCache:OFF instead of Automatic. Reason is that XP itself
>> provides system cache to Opera.
>>
>> Do you notice the same as I did?

> That's two different type of memory cache.

Actually, MemoryCache is set to OFF in my Opera 12.14.
I notice that Opera's WorkingSet growth to more than 820.000KB.

--
Laurent Jumet - Point de Chat, Liège, BELGIUM

JJ

unread,
Mar 16, 2013, 5:34:50 PM3/16/13
to
"Laurent Jumet" <1st_NAME...@skynet.be> wrote:
> Actually, MemoryCache is set to OFF in my Opera 12.14.
> I notice that Opera's WorkingSet growth to more than 820.000KB.

Process working set is a generic pool of data that reside in physical
memory where it can be swapped into the page file and back again. The data
can be anything that's used by a program, not just cached data. It may
grow/shrink depending on what the program is doing and the number of free
physical memory space.

Jane

unread,
Apr 7, 2013, 3:09:35 PM4/7/13
to
On 15:43 13 Mar 2013, Laurent Jumet wrote:

>
> Hello JJ !
>
> JJ <jaej...@nah.meh> wrote:
>
>>> While in XP, it might be more efficient to use Opera with
>>> MemoryCache:OFF instead of Automatic. Reason is that XP itself
>>> provides system cache to Opera.
>>>
>>> Do you notice the same as I did?
>
>> The system cache on the other hand, is for disk directories and file
>> contents. It will only affect how fast Opera loads web pages or
>> js/css/jpg files from its disk cache into its own memory.
>
> For FlashVideo, there are at least two caches: while the tab stays
> open, file is in the %TEMP% directory; and from that moment
> download is finished we get another one in the Opera's cache
> directory. I suppose that RAMCache could hold a third exemplar?

To get a copy of video files which were playing on a web page I used to
switch off the Memory Cache in Preferences and go to the Sesn directory
(within the Cache directory) to find them. Now they are no longer there.

Do you know where I can find them?



Laurent Jumet

unread,
Apr 7, 2013, 5:11:33 PM4/7/13
to

Hello Jane !

Jane <ja...@invalid.com> wrote:

>> For FlashVideo, there are at least two caches: while the tab stays
>> open, file is in the %TEMP% directory; and from that moment
>> download is finished we get another one in the Opera's cache
>> directory. I suppose that RAMCache could hold a third exemplar?

> To get a copy of video files which were playing on a web page I used to
> switch off the Memory Cache in Preferences and go to the Sesn directory
> (within the Cache directory) to find them. Now they are no longer there.
> Do you know where I can find them?

...yes.
While the web page isn't closed, the video is created in the %TEMP% directory and owned by the player itself. From that moment you close the page, the video is immediately erased.
And a second video identical to previous one *might be* created in the \cache4\ directory owned by Opera. It depends on its size (Opera holds a maximum of 400MB if set to) and big files aren't keeped. Some videos are instructed by their creator to not cache at all (but they will always be cached in %TEMP% anyway).
On YouTube, it became usual that videos are not cached in only one file, but in a mass of chunks: dozens, or hundreds; each chunk calls next one.

I suggest you to use VideoCacheView that is aware of all kinds of caches above and restores them, even in chunks:
http://www.nirsoft.net/utils/video_cache_view.html

--
Laurent Jumet - Point de Chat, Liᅵge, BELGIUM

Jane

unread,
Apr 9, 2013, 11:58:40 AM4/9/13
to
Do you mean the Windows temporary directory when you say %TEMP% ? (I use
XP.)

I will use that Sofer utility. Do I set it to the directory specified in
"opera:config" called Temporary Download Directory?

Laurent Jumet

unread,
Apr 9, 2013, 12:43:16 PM4/9/13
to
...yes. Open a DOS screen (cmd.exe) and type "SET", to find where is your %TEMP% directory.

> I will use that Sofer utility. Do I set it to the directory specified in
> "opera:config" called Temporary Download Directory?

...no. Only the TemporaryFolder set on %TEMP% and the \cache4\ for Opera (and Firefox & IE if you want them).
Temporary Download Directory is useless on my system and I suppose on yours.

--
Laurent Jumet - Point de Chat, Liège, BELGIUM
Message has been deleted

Jane

unread,
Apr 13, 2013, 6:07:53 PM4/13/13
to
I've set the temp folder correctly (and the Temporary Download folder)
in Sofer's VideoCacheView. It is working nicely on some sites and I can
manage to save their video clips.

However it does NOT work on YouTube. It doesn't show any files at all
when I play a YouTube video. What can I do?

Jane

unread,
Apr 13, 2013, 6:10:31 PM4/13/13
to
PS: I am using the latest version 2.45 of VideoCacheView.

Laurent Jumet

unread,
Apr 13, 2013, 7:13:27 PM4/13/13
to
More than half of YouTube videos aren't in only one file, but in several chunks (dozens or even hundreds). This significantly affects the way to watch them:
-you cannot use the %TEMP% image at all.
-chunks finally end in the \cache4\ but you must wait a while, as they stay in RAM too.
-you must enable the appropriate features in the VideoCacheView config (Merge split video files).
-disk cache must be enabled in Opera and big enough to contain the cached file.

This is a file for you to try until it works; it's split in six chunks. You will not see any chunk in the %TEMP% (flaxxx.tmp) but finally, you'll find the six chunks in \cache4\ (oprxxxxx.tmp) and VideoCacheView will merge them for you:

http://www.youtube.com/watch?v=7I49R72EnSQ

--
Laurent Jumet - Point de Chat, Liᅵge, BELGIUM

Laurent Jumet

unread,
Apr 13, 2013, 7:36:49 PM4/13/13
to

Hello Jane !

Jane <ja...@invalid.com> wrote:

> PS: I am using the latest version 2.45 of VideoCacheView.

...good girl ! :-)
So do I.

--
Laurent Jumet - Point de Chat, Liᅵge, BELGIUM

Jane

unread,
May 5, 2013, 4:46:41 PM5/5/13
to
On 00:13 14 Apr 2013, Laurent Jumet wrote:

>
> Hello Jane !
>
> Jane <ja...@invalid.com> wrote:
>
>>> ...no. Only the TemporaryFolder set on %TEMP% and the \cache4\
>>> for Opera (and Firefox & IE if you want them). Temporary
>>> Download Directory is useless on my system and I suppose on
>>> yours.
>
>> I've set the temp folder correctly (and the Temporary Download
>> folder) in Sofer's VideoCacheView. It is working nicely on some sites
>> and I can manage to save their video clips.
>> However it does NOT work on YouTube. It doesn't show any files at all
>> when I play a YouTube video. What can I do?
>
> More than half of YouTube videos aren't in only one file, but in
> several chunks (dozens or even hundreds). This significantly
> affects the way to watch them:

Laurent, sorry for the delayed reply. I have been away. That video
doesn't work for me.

> -you cannot use the %TEMP% image at all.

OK.

> -chunks finally end in the \cache4\ but you must wait a while, as
> they stay in RAM too.

I waited until after the video stopped playing on YouTube.

> -you must enable the appropriate features in the VideoCacheView config
> (Merge split video files).

I checked and it was already enabled.

> -disk cache must be enabled in Opera and big enough to contain the
> cached file.

My disk cache is set to 100MB which should be big enough.

> This is a file for you to try until it works; it's split in six
> chunks. You will not see any chunk in the %TEMP% (flaxxx.tmp) but
> finally, you'll find the six chunks in \cache4\ (oprxxxxx.tmp) and
> VideoCacheView will merge them for you:
>
> http://www.youtube.com/watch?v=7I49R72EnSQ

Nice video but VideoCacheView didn't find anything at all. I didn't find
the six chunks in \cache4\.

(I confirmed I was looking in the correct directory by checking what
directory was set in opera:config#directory4.)

Can you advise?

Peter Boulding

unread,
May 5, 2013, 8:29:38 PM5/5/13
to
On Sun, 05 May 2013 21:46:41 +0100, Jane <ja...@invalid.com> wrote in
<XnsA1B7DD8A...@178.22.82.21>:

>> http://www.youtube.com/watch?v=7I49R72EnSQ
>
>Nice video but VideoCacheView didn't find anything at all. I didn't find
>the six chunks in \cache4\.

Have you tried this?
<https://addons.opera.com/en-gb/extensions/details/savefromnet-helper/?display=en>

(I haven't; if I want to download a video from YouTube I use Firefox with
the Downloader Helper add-on. SaveFrom.net helper seems to be the nearest
equivalent for Opera.)

--
Regards, Peter Boulding
pjbn...@UNSPAMpboulding.co.uk (to e-mail, remove "UNSPAM")
Fractal Images and Music: http://www.pboulding.co.uk/
http://www.soundclick.com/bands/default.cfm?bandID=794240&content=music

Laurent Jumet

unread,
May 5, 2013, 8:17:34 PM5/5/13
to

Hello Jane !

Jane <ja...@invalid.com> wrote:

>> -you must enable the appropriate features in the VideoCacheView config
>> (Merge split video files).

> I checked and it was already enabled.

...OK.

>> -disk cache must be enabled in Opera and big enough to contain the
>> cached file.

> My disk cache is set to 100MB which should be big enough.

...it's not big enough at all.
I had 400MB myself and I changed to 999MB (using opera:config#DiskCache|Size you can stamp a size cache of 999999).
Why do you need a bigger cache, specially when you try to get back a video made of chunks? Because if your cache is too small, the whole videofile won't fit in it; older chunks are automatically deleted while new ones are downloaded.

>> This is a file for you to try until it works; it's split in six
>> chunks. You will not see any chunk in the %TEMP% (flaxxx.tmp) but
>> finally, you'll find the six chunks in \cache4\ (oprxxxxx.tmp) and
>> VideoCacheView will merge them for you:
>>
>> http://www.youtube.com/watch?v=7I49R72EnSQ

> Nice video but VideoCacheView didn't find anything at all. I didn't find
> the six chunks in \cache4\.

I just tryed again and it worked again. This is a good file for testings; it ends with six chunks in the Opera's cache.

> Can you advise?

What we are sure of, is that if it works on my system it will work on yours; the only question is: before or after the Resurrection? :-)

Remember that a recently downloaded video takes always a while before becoming visible in the %TEMP% directory and/or the \cache4\ directory, as Opera holds it a while inside its PrivateBytes (no metter if the RAMCache is ON or OFF).

So, set the CacheSize to 999999 in opera:config#DiskCache|Size, save and restart Opera.
Check again if VideoCacheView is pointing both to your %TEMP% directory for the TemporaryFolder, and to your \cache4\ folder for Opera.
Go to http://www.youtube.com/watch?v=7I49R72EnSQ and play it. Don't close the Tab at first, only reduce it. Continue surfing elsewhere for a couple a minutes, and check several times in VideocacheView until you'll see the video as a six chunks .FLV file in the \cache4\ folder.

Don't surround, as you know it works on my system.

Jane

unread,
May 9, 2013, 6:45:25 AM5/9/13
to
I'm working on this.

No luck yet but I am checking through some other settings in case they are
relevant.

Jane

unread,
May 17, 2013, 5:10:46 AM5/17/13
to
I have tried a lot but it's not worked.

:-(
0 new messages