Discuss Scratch

mix91132
Scratcher
37 posts

CPU KILLING PROJECT

Weirdest thing I've ever seen.

Whenever I try to green flag this project, my CPU usage goes up to 100% and my browser locks up. If I end the flashplayerplugin process, everything is back to normal, but of course I still can't see the project in action. I got in touch with the project's creator (thanks for all the help btw), but both of us were stumped. I ‘saw inside’ the project and there were no big, complicated scripts. I even tried changing the graphics from vector to bitmap. I also tried remixing the project and removing scripts until I found the problem. The background was fine on it's own, but as soon as I added in a sprite, CPU usage rockets up. We have no idea what is causing this. Any help?

By the way, if any of you were wondering if I had a ten year old PC with next to no RAM, I tell you I have, but it's severely updated. Here are my specs:

CPU: Pentium 4 Hyperthreaded
RAM: 2GB
Graphics: NVIDIA GeForce 210, 512MB RAM
OS: Windows 7
Browser: Latest Firefox
It is perfectly capable of playing many other games, such as the one in my signature, which has many complicated scripts and a lot of cloning.
cheddargirl
Scratch Team
1000+ posts

CPU KILLING PROJECT

I couldn't help but notice that the project uses brightness and color effects. I have a feeling that the lagggy-ness is caused by those effects (there's a bit more info about this here).
mix91132
Scratcher
37 posts

CPU KILLING PROJECT

I will have a look in my remix and see if removing those scripts makes a difference. Thanks!

Last edited by mix91132 (Aug. 7, 2013 07:44:35)

mix91132
Scratcher
37 posts

CPU KILLING PROJECT

Yeah! It boots now! Thanks for everything!

Last edited by mix91132 (Aug. 7, 2013 07:57:39)

mix91132
Scratcher
37 posts

CPU KILLING PROJECT

The bit I don't get; why does this only effect me? Other people say that it works fine for them.
turkey3
Scratcher
1000+ posts

CPU KILLING PROJECT

mix91132 wrote:

The bit I don't get; why does this only effect me? Other people say that it works fine for them.
What processor do you have?
ProdigyZeta7
Scratcher
1000+ posts

CPU KILLING PROJECT

turkey3 wrote:

mix91132 wrote:

The bit I don't get; why does this only effect me? Other people say that it works fine for them.
What processor do you have?
Processing doesn't matter. You could have the fastest computer and still get lag with brightness effects. The problem seems to be the latest update on the Flash player, so downgrading it to 11.7 something should do the trick and eliminate the lag.
EH7meow
Scratcher
100+ posts

CPU KILLING PROJECT

I couldn't play that project either. It lagged severely and then stopped and then Firefox started lagging. Then I closed the tab and it stopped and everything was fine again. I have Flash Player version 11.2.202.297
DadOfMrLog
Scratcher
1000+ posts

CPU KILLING PROJECT

@mix91132:

The reason it uses so much CPU power is because the looks are getting changed continuously within a ‘forever’ loop (even when nothing is actually changing), and that is very intensive - particularly with the current issues with the Flash player that many are experiencing when effects are used (colour/ghost/brightness/etc.)

As an example of what I mean, see the following posts about how to script such changes to the look of a costume more efficiently (and look inside the problematic project to compare):

http://scratch.mit.edu/discuss/post/102592/
http://scratch.mit.edu/discuss/post/101816/

Fixing up the scripting in the way I've outlined would make a significant difference to the lag problem (even without installing different Flash version) - I've posted a note on the project about it, referring to above posts, so maybe the creator will make the changes…
vacuumfan7072
Scratcher
100+ posts

CPU KILLING PROJECT

mix91132 wrote:

The bit I don't get; why does this only effect me? Other people say that it works fine for them.
You're not alone. It does it for me too.
SuperNicky
Scratcher
100+ posts

CPU KILLING PROJECT

mix91132 wrote:

The bit I don't get; why does this only effect me? Other people say that it works fine for them.
I had the same it became complety unresponsive I could only move my courser coudn't click anything for 10 mins

years old: about 1

operating system bit: 64 bit

operating system: Windows 7 Home premium SP1

RAM: 4GB

Hard drive: 500GB (1/2 terabyte)

Graphics card:NIVDIA GeForce GT 630

Proccesers: 4 AMD Phenom™ II X4 965 Proccesors

Computer type:ACPI x64-based PC

Browser: Google chrome

I don't know why its a game tower it can run minecraft easily and minecraft is VERY HARD to run

Last edited by SuperNicky (Aug. 8, 2013 14:43:59)

dracae
Scratcher
1000+ posts

CPU KILLING PROJECT

Works fine, just downgrade flash to 11.7!
SuperNicky
Scratcher
100+ posts

CPU KILLING PROJECT

dracae wrote:

Works fine, just downgrade flash to 11.7!
the closest flash version to new years eve in 2012 that flash version is my version
jojoN
Scratcher
16 posts

CPU KILLING PROJECT

here's the problem, in my previous comment (NO IM NOT TRYING TO SPAM!)

. @jojoN If you are using “forever, change color effect by 25” or using my cloning script on my project: http://scratch.mit.edu/projects/11978505/ then it will lag so try to slow down on graphic effects, try to make something simple

You welcome,
JojoN
lisafireball
Scratcher
100+ posts

CPU KILLING PROJECT

The same thing happened to me when I was viewing Lightnin's project “Cushion-test” AND IT MURDERED MY COMPUTER SO BADLY!!! IT TOOK ME THIRTY FREAKING MINUETS TO CLOSE MY BROWSER!!!
SuperNicky
Scratcher
100+ posts

CPU KILLING PROJECT

lisafireball wrote:

The same thing happened to me when I was viewing Lightnin's project “Cushion-test” AND IT MURDERED MY COMPUTER SO BADLY!!! IT TOOK ME THIRTY FREAKING MINUETS TO CLOSE MY BROWSER!!!

It didn't murder it because It didn't give u a BSoD
SuperNicky
Scratcher
100+ posts

CPU KILLING PROJECT

SuperNicky wrote:

mix91132 wrote:

The bit I don't get; why does this only effect me? Other people say that it works fine for them.
I had the same it became complety unresponsive I could only move my courser coudn't click anything for 10 mins

years old: about 1

operating system bit: 64 bit

operating system: Windows 7 Home premium SP1

RAM: 4GB

Hard drive: 500GB (1/2 terabyte)

Graphics card:NIVDIA GeForce GT 630

Proccesers: 4 AMD Phenom™ II X4 965 Proccesors

Computer type:ACPI x64-based PC

Browser: Google chrome

I don't know why its a game tower it can run minecraft easily and minecraft is VERY HARD to run
My motherbaord is good and everything my kernel works good WHAT ELSE!
vacuumfan7072
Scratcher
100+ posts

CPU KILLING PROJECT

SuperNicky wrote:

SuperNicky wrote:

mix91132 wrote:

The bit I don't get; why does this only effect me? Other people say that it works fine for them.
I had the same it became complety unresponsive I could only move my courser coudn't click anything for 10 mins

years old: about 1

operating system bit: 64 bit

operating system: Windows 7 Home premium SP1

RAM: 4GB

Hard drive: 500GB (1/2 terabyte)

Graphics card:NIVDIA GeForce GT 630

Proccesers: 4 AMD Phenom™ II X4 965 Proccesors

Computer type:ACPI x64-based PC

Browser: Google chrome

I don't know why its a game tower it can run minecraft easily and minecraft is VERY HARD to run
My motherbaord is good and everything my kernel works good WHAT ELSE!
As we've already discussed, it's the flash player. Downgrade to 11.7 or something.
Also, did you know there's an edit button?

Last edited by vacuumfan7072 (Sept. 8, 2013 18:49:21)

lisafireball
Scratcher
100+ posts

CPU KILLING PROJECT

SuperNicky wrote:

lisafireball wrote:

The same thing happened to me when I was viewing Lightnin's project “Cushion-test” AND IT MURDERED MY COMPUTER SO BADLY!!! IT TOOK ME THIRTY FREAKING MINUETS TO CLOSE MY BROWSER!!!

It didn't murder it because It didn't give u a BSoD
Yeah, but my browser was whining!
Sega_Cat
Scratcher
100+ posts

CPU KILLING PROJECT

Well When I open My Windows 95 Emulator It Crashes a lot, But intensive for my CPU a two core celeron

Last edited by Sega_Cat (March 1, 2019 17:11:06)

Powered by DjangoBB