- This episode of Krazy
Ken's Tech Misadventures
is sponsored by, Linode.
(computer mouse click) (chime)
Just enjoy,
all of the favicons,
loading, just loading in there getting all
in their tight squeezes in the tabs.
Should we run the script
again while this is loading?
(Beeps)
(upbeat techno music)
Hey guys, how're you all doing?
Really? That's just
great, you know I'm doing
pretty great today too
because I think we're about to
witness the death of this
MacBook Pro, It's gonna get ugly.
Anyway, a little while
ago Jonathan Morrison
did a chrome challenge
video where he opened up
6000 Google Chrome tabs on his Mac Pro.
Now he had 1.5 terabytes of RAM,
we're poor,
so we only have 16 (GB), the
Royal we, I have no idea.
So how far, can a MacBook Pro from 2013
with only 16 gigabytes of RAM get?
(dramatic orchestral music)
We're going to find out soon.
Anyway, Jonathan did the
heavy lifting for us and
he wrote a little workflow
inside of the Automator program.
So basically what this
does is it opens up,
a bunch of websites repeatedly,
and it stops at a thousand.
I can already see the fun and joy
we're gonna experience from this.
So how far is it gonna go?
Let's find out.
Alright so first, let's
take a look at what exactly
is inside this Automator script.
We have a get specified URL
action, and it looks like
it opens up, probably like 50
different websites, Apple.com,
Microsoft store, Google.com,
all the way down to
Linus Tech Tips' YouTube
channel, fantastic.
I guess all we have to
do now is press run,
and we're going to make
some bad decisions here.
I'm sorry MacBook Pro, I
hate to do this to you,
but uh, I'm probably going
to get a new Mac anyway and
demote you to a backup machine, but hey,
it's been a good six
and a half years right?
Oh no, what am I doing?
What am I, why am I doing this?
look at, oh my gosh, dude they're
just flying by like crazy,
is this supposed to do that?
Isn't supposed to open a bunch of tabs,
I feel like something
is not working right.
Oh, oh,
Oh,
there go the tabs now, okay,
oh my gosh look at all the
spinning loading indicators,
Oh, that is mesmerizing,
look at him go, Oh shh.
Yeah, I should probably install like a,
an extension to tell me
how many tabs are open.
Okay, I reset it and I'm running it again
and now with the extension
installed and that will
let us keep track of how
many tabs are actually open.
Alright, so far we have one
tab open, that's a good start.
Oh, there they go, oh (beep)
and yep, 1000 tabs per script.
Let's see if we can actually
navigate to one of these.
Hey, B&H, scrolling is
gonna lag like crazy,
but the tab loaded.
Let's go to another one,
eh Macsales.com, alright,
not a sponsor of any of
these sites, by the way,
this is just what's happening.
(chuckles)
Let's check our extension here,
open Windows one, tabs 1000,
current window open tabs,
not sure what that means,
current window open tabs.
So we have about 36% of our CPU, left,
43% is being used by us,
and 20% by the system,
but here are individual
chrome helpers, but right now,
we are using 13, total gigs of memory,
out of only a total 16, we only
have 16 gigs in this system,
but, you know, this is a 2013 laptop, so,
what do you expect?
Just enjoy,
all of the favicons,
loading, loading,
just loading in there getting all in there
tight squeezes in the tabs,
should we run the script
again while this is loading?
You know, I think we could, What the hell.
Let's switch back to Automator, and run.
(tense orchestral music)
Oh, no, this thing is gonna start on fire.
Yep the addresses are
definitely not flying by
as quick as they were before,
but, that's to be expected,
it looks like some of the
loading wheels even, stuck,
but, it's keeping up.
This maybe wasn't such
a bad idea after all.
We'll get through this together.
Here's the impressive thing though,
the system is still
performing really well,
like Exposé is still really
smooth, I'm able to switch
between the apps, almost
without a problem,
Chrome is kind of taking
over because, new tabs keep
opening up and the focus
keeps switching back to it,
but I'm able to launch
other applications you know,
they're not going to
stay in the foreground
because of the activity
going on in Chrome, but,
now things are working pretty smooth.
Filmtools was the last URL in the script,
I'm, fairly certain.
So it should be wrapping up
the second run right about now
but everything, is frozen in the tabs,
at least for the loading animation.
Alright, come on, you got
this, you got this MAC,
you've already got a thousand in you,
you can do another thousand no problem.
Look, your opponent is not as
scary as some people think.
Look, it's just a fear tactic,
he does not use as much RAM
as a lot of people say, I
actually ran a test recently,
I found that Safari was using
more memory than chrome was,
and that's the browser
that's built into you
for crying out loud, you
got this, you got this.
But let's see if we can
actually switch around here.
Now we got the beach ball,
and it just refreshed
with 2000 tabs, in the extension there.
You know, this is just
an early prediction,
but we might be able to keep
going and going, you know,
things will get slower gradually,
but if the RAM's able to
manage itself, you know,
it might not stop, it'll
just keep getting slow,
I guess we'll see.
Do more at once, I already
have 2000 tabs open bitch,
I'm doing plenty.
You know, I don't think I've ever seen the
memory pressure graph turn yellow before,
I just thought it was always green, okay,
well first time for everything.
Yes, we are using 14.24
gigabytes of memory out of,
16,
so not a lot of space,
there's not a lot of memory left in here.
What's amazing to me is
that I have these 2000 tabs
loading in the background,
but, other stuff on the system
performs fine, I'm
scrubbing a 4K video here,
I can go into the Exposé
view, and it's hardly dropping
any frames, which is really
impressive, It's so stable,
even though we only have
16 gigs of RAM in here,
you know, on a computer
that at this point in time
is six and a half years old,
talk about multitasking.
Best Buy wants to know your location,
10 stories underground,
you're not gonna find me.
Okay, so that's a development,
frickin notifications
are able to come through still.
For some reason we're
at 1999 instead of 2000,
It's like we lost a tab,
(Ping)
that's bizarre.
What do you say, Should we go for 3000?
Well, if you say so.
(tense music)
Going for 3000, run.
(chuckles)
Okay, so apparently it can also turn red
in the memory pressure
graph, so that's great,
yes, we have 800 megabytes
of memory, free right now.
Oh what a surprise, pages unresponsive?
(laughs)
How many?
Oh it's not letting me
scroll, oh that's nice.
Well, we're patient people,
so I'm going to click
the wait button, oh it
actually, it actually worked,
yeah, we're just gonna
wait, we're not giving up.
(chuckles)
Oh, this poor computer.
2999 we are making progress,
I still don't know what happened
to that one frickin tab,
I'm sorry for anyone that has
like OCD or something because
it's not a perfect 3000, I
dunno know what to tell ya,
we're just gonna have to live with it,
maybe I'll open a tab myself, in fact,
let's actually try that.
(chuckles)
Yep, I don't know what
else I really expected,
It'll probably happen, it
just needs two minutes.
Hey look at that, 3000 tabs,
we're back to a nice even number,
that was about two
minutes, yeah, nailed it.
Yeah, the yellow Part
of the graph is not even
in existence anymore,
we're just going right
to the blood territory now, it is red.
Let's see, what are we at
right now, we are using 15.15,
so around where we were earlier.
You know, maybe in the future,
I'm getting kind of tempted
to try this experiment again,
on an older version of Mac OS
that doesn't have compressed memory,
because we have compressed memory now,
but everything before
Mavericks did not, so,
that might be an interesting test later.
I don't know how much that's
actually helping here,
but it looks like we're
using almost nine gigabytes
of compressed memory, which
is basically a compressed
version of data stored in physical memory,
it hasn't been touched recently,
so it's compressing it
and storing it for later,
wired memory is memory that,
cannot be put into swap,
(tense music)
cannot be compressed, super high priority,
it's got to be wired, like you
are when you drink seven cups
of coffee the night before your exam,
and app memory is, I guess
that's just the current memory
being used by, processes,
physical memory allocated by,
I'm guessing applications
and system processes,
look at that, going for 4000,
Okay, well I'm pretty sure
this is not supposed to happen.
Uh
(chuckles)
Uh, okay, we'll be right back
after a word from our sponsor.
(energetic music) (clapping)
Linode.
No matter what skill level you're at,
or what technology stack you use,
Linode makes it easy
to give your creations
their own personal space on the internet.
If you just need something
small, like a simple website,
game server, or personal
VPN, Linode has you covered.
If you need to manage tons
of websites and reliably
serve them to millions of
visitors, well guess what?
Linode can do that too.
Unlike entry level hosting
services that lock you
into their platform, Linode
gives you full back end access
to customize and control your
server to fit your needs.
Their DNS manager allows you
to easily switch your domain
to your new server, and SSL
certificates can be installed
for free, using open source tools.
And here's another cool thing,
if you run into any
problems getting set up,
Linode comes with amazing
24/7 Customer Support,
by phone, or ticket along,
with hundreds of docs
to help get you started.
And because you're here, and
because we're all best friends,
you amazing Computer Clan
viewers get a free $20 credit,
on a new Linode account,
with my code, COMPCLAN20,
and if you don't like typing in codes,
you can sign up with the
link in the description.
Alright, let's check
back in on Google Chrome.
Um, oh, it went back.
We're probably having a
couple of a GPU problems now,
(chuckles) (tense electronic music)
I'm guessing that's what's
causing, Oh, another flicker,
very nice, let's see,
looks like we're back
in the yellow territory,
oh wow, it's like spazzing out,
the numbers are updating
way quicker than normal,
usually you can set the
frequency, as to how quickly
stuff updates, but I
didn't change anything,
and the numbers are just spazzing out,
and the memory pressure chart
is chugging along there too.
But yeah, we're at, we're
hovering around 15 gigs right now.
I don't care where you are,
in a race car, in an airplane,
on a frickin like command
module on the Apollo mission,
or on your computer, when
numbers start moving really fast,
it's usually a bad thing.
(grungy bass swell)
Oh,
my computer just, wanted
to zoom out, that was fun.
I didn't do that my hands are here,
to quote shaggy, it wasn't me.
Alright hang in there
Mac, you got 3000 in you,
come on, you can get to
4000 you can do this.
Oh man, why am I sweating so bad?
You're the one doing all the work.
You got to finish this soon,
I don't want to end up
looking like Papa John.
Ladies and gentlemen and
everything in between,
we have approached the next level,
4000 tabs,
and of course we're
gonna get more of these,
warning screens here, but
we're just gonna say, Wait.
Well we might be hitting
a breaking point very soon
because now other
applications are starting to,
not respond even when
they have no windows open,
so,
(whistles)
can we get to 6000?
Maybe, but definitely all
those tabs aren't gonna be
able to be, switched to,
you know, instantaneously,
we may be able to get to a
6000 count, but there's no way
in heck we're going to actually
have all of those sites
loaded and usable, off of
15 gigabytes of memory.
Also, you know how on
the Mac when you press a
keyboard shortcut, the menu
item where the shortcut
is under will flash?
Well, I pressed Command T, to
open up a new tab and the File
menu is just kind of stuck there,
It's been like that for about six minutes.
Alright, this is fine, we'll all be fine.
Alright So here's an
update on the fineness,
looks like memory used is up a
little bit higher than we had
before, and we have almost 10
gigs that are in compressed,
Yeah, the memory pressure
chart is just all red now so,
yeah that's, that's great,
it's good, it's good, good,
no problem here, we're fine, yeah, mmhmm.
okay, well this is a screen I
have not seen in a long time,
but we are out of application memory,
to avoid problems with
your computer quit any
applications you are not using.
Okay, yeah the docs
taking a while to come up,
oh no, I think, well
we can quit quick time,
that's not gonna free up a bunch, Oh man,
yep, stuffs really
starting to slow down now.
Um, Automator we need
to run future things,
but I guess, you know,
we can close that and
Activity Monitor for
now, so let's close that,
and force quit Automator,
And let's see if,
that's enough to keep, Chrome going.
Oh, it just started
eating up more RAM now.
Can I close this?
Cause I thought you couldn't
close this when this was open,
but I think you actually can, maybe,
it's just an older
system where that was a,
a modal window and you had to close stuff,
but now it's like, eh,
optionally you can close stuff
and make your computer better,
or you can, keep it in
a very (beep) place,
the choice is yours.
You know, I've always made the joke that
these types of screens
look like a checkered flag,
because that's it, they're finished.
It's the end of the race
man, I think we gotta,
throw in the towel here soon.
Okay, so even with this screen here,
I noticed the RAM consumption
is increasing steadily,
even though nothing else is going on
and the force quit window is open, so, Oh,
it's just eating this thing alive.
Yeah speaking of eating,
I'm, getting a little hungry,
so I think I'm gonna go
look for some leftovers,
hopefully the rats let
them do something good,
and we'll just let this
sit for a couple hours.
Alright, be right back.
Okay, so I let the system
stand for, probably like
two and a half hours and
chrome slowly crawled up,
Oh my mouse cursor isn't even, Oh no,
(dramatic orchestral music)
can't even move the mouse
cursor, Oh no, Oh crap,
anyway it slowly climbed
up over five gigabytes,
and the file menu thing is still lit up,
and nothing is moving,
not even the mouse cursor,
this is, this is locked tight.
So it looks like we got to
4000 tabs in the counter,
you know, obviously not all
those tabs are going to be
usable the minute we click
on them because we only have
16 gigs of RAM here, but
at least we got up to 4000,
on the counter, so, that's
something right, but,
yeah it looks like we're gonna
have to call it quits here,
4000 is as far as it can go.
So, sorry, Mac, nothing personal.
There it goes, and let's boot it back up.
(computer chimes)
You shut down your computer
because of a problem,
yeah, that problem was
4000 Google Chrome tabs.
Restore pages, Chrome did not
shut down correctly, Yeah,
So what happens if we do hit Restore?
I'm curious, will it restore all 4000?
Well we already got the beach ball.
Yeah there's no way it's gonna
be able to frickin do this,
I don't wanna risk it again,
so we're just gonna force quit,
relaunch and, no, we are
not going to restore.
Okay, so that was oodles of fun.
All time tabs ever since I
installed the Chrome tab counter,
4005, and 4000 of those
were from this experiment.
So we got kinda far, you
know, for 16 gigs of RAM,
on a six and a half year old
computer, a laptop nonetheless,
not to bad, but hey, 4000
Chrome tabs is pretty
impractical anyway, I
mean I can't see ever
needing more than, 2000.
Well, that was a fun challenge wasn't is.
Sorry MacBook Pro that
you had to endure that,
and thank you Jonathan for
writing that Automator script,
so we could save some time
and destroy our computers.
Hey, let me know how far you get,
tell me if your Mac can beat
4000, and tell me how much RAM
you are also running off
of, I wanna see how far
you guys can get, let's get
a little competition going.
Also if you want some
more goodies from myself
and from the Computer Clan,
feel free to click that new
Join button that's below the video,
and you can get some
other cool stuff from us.
Anyway, thank you for sticking with me.
Catch the crazy, and pass it on.
(upbeat electro music)
(computer mouse click) (chime)
