This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-09-05 09:16:02

ejw009
New Scratcher
Registered: 2012-09-05
Posts: 10

Projects with comments become un-responsive

Projects with comments become un-responsive

OS Win 7
Scratch 1.4

Once I began adding comments to the program, Scratch would stop responding for a period of time. The taskmgr shows scratch using 12% or 13% [the entirety of one of the virtual processors?] of the cpu cycles. And System Idle Process using the rest but a percent or two.

Is this an issue with a known resolution?

Offline

 

#2 2012-09-05 09:19:29

ejw009
New Scratcher
Registered: 2012-09-05
Posts: 10

Re: Projects with comments become un-responsive

i7
6gb ram
64bit win7

if it matters

Offline

 

#3 2012-09-05 09:20:23

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: Projects with comments become un-responsive

Any long scripts? How many comments did you have?


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#4 2012-09-05 09:41:52

ejw009
New Scratcher
Registered: 2012-09-05
Posts: 10

Re: Projects with comments become un-responsive

the entire file is about 208kb
about 80 lines
18 comments

Offline

 

#5 2012-09-05 09:46:19

ejw009
New Scratcher
Registered: 2012-09-05
Posts: 10

Re: Projects with comments become un-responsive

the entire file is about 208kb
the whole program is about 80 lines
additionally, there are 18 comments

Offline

 

#6 2012-09-05 09:49:38

ejw009
New Scratcher
Registered: 2012-09-05
Posts: 10

Re: Projects with comments become un-responsive

http://scratch.mit.edu/projects/ejw009/2763661

Offline

 

#7 2012-09-05 14:05:36

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: Projects with comments become un-responsive

What browser are you using? My large game, Stik, has 400+ comments and works fine.

EDIT: It's not the comments. What happens here is very similar to my particle simulator: too much looping.

Last edited by BirdByte (2012-09-05 14:07:16)


http://i50.tinypic.com/312u714.jpg

Offline

 

#8 2012-09-05 17:04:13

ejw009
New Scratcher
Registered: 2012-09-05
Posts: 10

Re: Projects with comments become un-responsive

w/e the cause, I can hardly open the file
and the problem didn't occur until I went back in and started adding comments.
My copy w/o the comments works just fine. That's what led me to blame the comments.

None of them work online, but I think that's something different

Offline

 

#9 2012-09-05 17:34:24

ejw009
New Scratcher
Registered: 2012-09-05
Posts: 10

Re: Projects with comments become un-responsive

Also, I can replicate the problem in a program w/ zero loops.
The problem starts after attaching about the tenth comment to the program and progressively gets worse.

I may need to find another way to add my notes. Perhaps just putting the comment near the line w/o attaching it?

Unless there's a fix instead of a work-around.

Offline

 

#10 2012-09-07 17:57:41

ejw009
New Scratcher
Registered: 2012-09-05
Posts: 10

Re: Projects with comments become un-responsive

Darn.
I was really hoping that there was some setting I could change on my machine which would allow me to add more notes to my projects.

Offline

 

#11 2012-09-09 10:45:21

ejw009
New Scratcher
Registered: 2012-09-05
Posts: 10

Re: Projects with comments become un-responsive

How about this?
Does anyone else have the same problem?

Offline

 

#12 2012-09-09 14:53:33

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: Projects with comments become un-responsive

ejw009 wrote:

How about this?
Does anyone else have the same problem?

No, but I know that attaching comments to scripts can cause the project to run slower. A possible workaround is to use few comments (try fusing some of them together instead of having multiple comments) or to simply place the comments next to the scripts instead of attaching them.


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#13 2012-09-10 07:00:40

ejw009
New Scratcher
Registered: 2012-09-05
Posts: 10

Re: Projects with comments become un-responsive

So maybe it's not particular to my machine?
It's possibly something to do with Scratch instead?

Offline

 

#14 2012-09-10 07:51:32

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: Projects with comments become un-responsive

Yes.


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

Board footer