KiwiFlare

  • 🐕 I am attempting to get the site runnning as fast as possible. If you are experiencing slow page load times, please report it.
I was still out this morning but I was able to get in through an AT&T fiber line a bit after lunch. I'm back on my home connection now this evening. I was tor-posting through the maintenance with no real issues
 
I think either Kiwiflare or some Javascript makes Firefox's heap explode.
I can't reproduce now but when Firefox was eating 20GB of RAM, 18GB of that was one kiwifarms tab and most of the RAM was allocated to "heap-unclassified".
I will continue to monitor. But so far everytime it used more than a few hundred MB while loading and scrolling the GC kicked in and it went down to under 100MB.
Really strange. I had to kill the process to keep using the system it was swapping so horribly.

EDIT: It didn't explode this time (only used 2.5GB of RAM) but when this page https://kiwifarms.net/threads/femal...an-elementary-school-killing-6.159226/page-42 was open in a background tab the resources on it (comic background image, avatars) started to vanish and when scrolling the page was cut off. After a few seconds it cleared itself up and displayed normally again. While it was weird this was the memory diagnostic and CPU usage was 100%:

1679963671349.png
This does not seem to happen on other pages. Very weird. I don't think it's Kiwiflare at all. No Kiwiflare code was running. Must be some other memory leak or a Firefox bug.

EDIT2: Blocking all JavaScript on that page fixes it. Maybe it's the Chat. That's the only difference I can see on that thread.

EDIT3: It's definitely the chat. Blocking chat.js also fixes it. FF seems to load a few hundred avatars at once via the img tags and completely chokes on it sometimes.
 
Last edited:
I think either Kiwiflare or some Javascript makes Firefox's heap explode.
I can't reproduce now but when Firefox was eating 20GB of RAM, 18GB of that was one kiwifarms tab and most of the RAM was allocated to "heap-unclassified".
I will continue to monitor. But so far everytime it used more than a few hundred MB while loading and scrolling the GC kicked in and it went down to under 100MB.
Really strange. I had to kill the process to keep using the system it was swapping so horribly.

EDIT: It didn't explode this time (only used 2.5GB of RAM) but when this page https://kiwifarms.net/threads/femal...an-elementary-school-killing-6.159226/page-42 was open in a background tab the resources on it (comic background image, avatars) started to vanish and when scrolling the page was cut off. After a few seconds it cleared itself up and displayed normally again. While it was weird this was the memory diagnostic and CPU usage was 100%:

This does not seem to happen on other pages. Very weird. I don't think it's Kiwiflare at all. No Kiwiflare code was running. Must be some other memory leak or a Firefox bug.

EDIT2: Blocking all JavaScript on that page fixes it. Maybe it's the Chat. That's the only difference I can see on that thread.

EDIT3: It's definitely the chat. Blocking chat.js also fixes it. FF seems to load a few hundred avatars at once via the img tags and completely chokes on it sometimes.

Chat! That's why I had to disable it. It also would sometimes go completely insane and start slowing everything down and or causing the KF tabs to crash.
NoScript > Uncheck "frames" for KFs. (this will break some embedded post media) There is a more direct way to disable it.. I'll have to look for the post explaining it.
 
I just added this rule to my uBlock Origin
Code:
kiwifarms.net https://kiwifarms.net/assets/chat.js script block
No more crazy lag and exploding tabs. I hope this can be fixed. Chat is kinda cool.

Yeah, that's another good way. I really do need to get that or some other means to block by individual element. Can't remember what I used on the old vers of FF.

Agreed.
 
Images and videos have been mostly broken for me the last two weeks. About half the time they won't load at all, and when they do, it can take over a minute for the thumbnail to show up. People have been implying it's sneedchat doing it and I don't know how to block sneedchat from loading. I never use it anyways so if it could be made an general option in settings that would be nice.
 
adblock plus?

The url he showed there should be it.

Images and videos have been mostly broken for me the last two weeks. About half the time they won't load at all, and when they do, it can take over a minute for the thumbnail to show up. People have been implying it's sneedchat doing it and I don't know how to block sneedchat from loading. I never use it anyways so if it could be made an general option in settings that would be nice.

See the few posts directly above yours. They are talking about it directly.
 
that really begs the question, what makes the chat bloated/heavy in the first place.
It's either the user-avatar images themselves or the way the JS appends the <img> tags into the html. They don't even need to load over the net, even loading them from cache chokes Firefox. I think there are just too many and it can't determine which ones should be shown or loaded later.
 
that really begs the question, what makes the chat bloated/heavy in the first place.

A big part of it (at least with FF) is that it eats up a LOT of memory.. In fact it doesn't seem to quit, based on how much your system has. (someone up there said it was taking multi gigs) But there certainly is another element to it since on certain pages (or maybe boards with chat) it doesn't just slow down things from the outset but actively breaks itself and much of the site. (JS doesn't fully load, mem jumps through the roof quickly, even for chat, and it sometimes freezes the KF browser thread completely before the page even loads)



Slav Power mostly. lol fat

You aren't wrong.. at least about the fat part. lol
 
Last edited:
A big part of it (at least of FF) is that it eats up a LOT of memory.. In fact it doesn't seem to quit based on how much you your system has. (someone up there said it was taking multi gigs) But there certainly is another element to it since on certain pages (or maybe boards with chat) it doesn't just slow down things from the outset but actively breaks itself and much of the site. (JS doesn't fully load, mem jumps through the roof quickly, even for chat, and it sometimes freezes the KF browser thread completely before the page even loads)
Now that explains why there's like a few seconds delay every time when I navigate here be it on mobile or desktop. now there are possibilities here. it's either
A big part of it (at least of FF) is that it eats up a LOT of memory.. In fact it doesn't seem to quit based on how much you your system has.
or
It's either the user-avatar images themselves or the way the JS appends the <img> tags into the html.
which one of these possibilities is correct is anyone's guess.
 
Back