Massive memory spike and hang when using CAA

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: FranklinDM, Lootyhoof

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4981
Joined: 2015-12-09, 15:45
Contact:

Massive memory spike and hang when using CAA

Unread post by moonbat » 2019-07-09, 07:45

So I just installed the Classic Addons Archive, and it hangs PM on opening, for about 2 minutes. Switch away from the page, or try searching for an extension and again it hangs. Each time memory usage shot up by about 100 MB, and given that this is a puny 4 GB i5 laptop, I'm not impressed. Is this expected behavior, and is it because of low RAM on my laptop? Using the latest x64 PM build.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2986
Joined: 2015-09-26, 04:51
Location: U.S.

Re: Massive memory spike and hang when using CAA

Unread post by coffeebreak » 2019-07-09, 08:48

No it's not expected behavior, and it doesn't happen when I use CAA.

Does it still ocur in safe mode? Or in a new profile?

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2193
Joined: 2018-05-05, 13:29

Re: Massive memory spike and hang when using CAA

Unread post by vannilla » 2019-07-09, 11:04

When you first install it, it has to build a database with all the provided extensions.
There are a lot of them, and it can take a while to complete the operation.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4981
Joined: 2015-12-09, 15:45
Contact:

Re: Massive memory spike and hang when using CAA

Unread post by moonbat » 2019-07-10, 13:03

vannilla wrote:
2019-07-09, 11:04
When you first install it, it has to build a database with all the provided extensions.
There are a lot of them, and it can take a while to complete the operation.
Not the first time..whenever I open it this happens. Memory usage drops back after I close it.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4981
Joined: 2015-12-09, 15:45
Contact:

Re: Massive memory spike and hang when using CAA

Unread post by moonbat » 2019-07-10, 13:20

coffeebreak wrote:
2019-07-09, 08:48
No it's not expected behavior, and it doesn't happen when I use CAA.

Does it still ocur in safe mode? Or in a new profile?
Found the culprit, it was CanvasBlocker, which anonymizes the canvas component to prevent fingerprinting. It can whitelist certain URLs, but I'm not sure how to do that for the caa: protocol handler that is used. Edit - just adding caa: to the whitelist worked.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Falna
Astronaut
Astronaut
Posts: 512
Joined: 2015-08-23, 17:56
Location: UK / France

Re: Massive memory spike and hang when using CAA

Unread post by Falna » 2019-07-11, 09:47

moonbat wrote:
2019-07-10, 13:20
Found the culprit, it was CanvasBlocker
You should be able to ditch that and use Pale Moon's inbuilt poisondata instead: viewtopic.php?f=19&t=22067&p=166762

Forked extensions :
● Add-ons Inspector ● Auto Text Link ● Copy As Plain Text ● Copy Hyperlink Text ● FireFTP button replacement ● gSearch Bar ● Navigation Bar Enhancer ● New Tab Links ● Number Tabs ● Print Preview Button and Keyboard Shortcut 2 ● Scrollbar Search Marker ● Simple Marker ● Tabs To Portfolio ● Update Alert ● Web Developer's Toolbox ● Zap Anything

Hint: If you expect a reply to your PM, allow replies...

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4981
Joined: 2015-12-09, 15:45
Contact:

Re: Massive memory spike and hang when using CAA

Unread post by moonbat » 2019-07-11, 10:16

Falna wrote:
2019-07-11, 09:47
You should be able to ditch that and use Pale Moon's inbuilt poisondata instead: viewtopic.php?f=19&t=22067&p=166762
Turns out I'd already done that :D
Guess I can get rid of the extension then.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Locked