[comp.sys.mac] ColorFinder problem!

phil@vaxphw.dec.com (Phil Hunt) (07/10/89)

Hello,

I am having a problem with ColorFinder that Apple gave out.  It works great and
I have built about 40 icons for it...When I put them in, I get a system error 25
during the startup as it is finishing the Colorfinder disk reads.  If I pull out
about 9-10 of the icons, it comes up ok.

BTW, I tried pulling out all inits and it still does it....The Mac II at my
office does not exhibit the problem even with inits loaded..The 2 machines are
mirror copies of each others disk, so they should be identical.

Any ideas?

==================================================================
Phil Hunt                      "Wherever you go, there you are!!!"
Digital Equipment Corporation                 Phone: (508)486-2164 
ENET:        VAXPHW::PHIL
USENET:      phil@vaxphw.dec.com
MOREUSENET:  phil%vaxphw.dec@decwrl.dec.com
EVENMORE:    ....!decwrl!dec-vaxphw!phil

mjohnson@Apple.COM (Mark B. Johnson) (07/10/89)

In article <3469@shlump.dec.com> phil@vaxphw.dec.com (Phil Hunt) writes:
>
>I am having a problem with ColorFinder that Apple gave out.  It works great and
>I have built about 40 icons for it...When I put them in, I get a system error 25

Come on Phil, you know Apple did NOT put this out.  Chris Derossi did.



Mark B. Johnson                                            AppleLink: mjohnson
Developer Technical Support                         domain: mjohnson@Apple.com
Apple Computer, Inc.         UUCP:  {amdahl,decwrl,sun,unisoft}!apple!mjohnson

"You gave your life to become the person you are right now.  Was it worth it?"
                                                         - Richard Bach, _One_

phil@vaxphw.dec.com (Phil Hunt) (07/11/89)

In article <33010@apple.Apple.COM>, mjohnson@Apple.COM (Mark B. Johnson) writes...
}In article <3469@shlump.dec.com> phil@vaxphw.dec.com (Phil Hunt) writes:
}>
}>I am having a problem with ColorFinder that Apple gave out.  It works great and
}>I have built about 40 icons for it...When I put them in, I get a system error 25
} 
}Come on Phil, you know Apple did NOT put this out.  Chris Derossi did.
} 
} 
} 
}Mark B. Johnson                                            AppleLink: mjohnson
}Developer Technical Support                         domain: mjohnson@Apple.com
}Apple Computer, Inc.         UUCP:  {amdahl,decwrl,sun,unisoft}!apple!mjohnson
} 
}"You gave your life to become the person you are right now.  Was it worth it?"
}                                                         - Richard Bach, _One_

Sorry, I meant 'someone at Apple', not 'Apple'..Excuuuuuuuse me!

==================================================================
Phil Hunt                      "Wherever you go, there you are!!!"
Digital Equipment Corporation                 Phone: (508)486-2164 
ENET:        VAXPHW::PHIL
USENET:      phil@vaxphw.dec.com
MOREUSENET:  phil%vaxphw.dec@decwrl.dec.com
EVENMORE:    ....!decwrl!dec-vaxphw!phil

stores@unix.SRI.COM (Matt Mora) (07/11/89)

In article <3469@shlump.dec.com> phil@vaxphw.dec.com (Phil Hunt) writes:
>Hello,
>
>I am having a problem with ColorFinder that Apple gave out.  It works great and
>I have built about 40 icons for it...When I put them in, I get a system error 25
>during the startup as it is finishing the Colorfinder disk reads.  If I pull out
>about 9-10 of the icons, it comes up ok.
>

I had the same problem, what I did to fix it was to set the purgable bit
on all the cicns and ICN# resources. Color finder tries to load all those
color icons in to memory and if they are not purgable it runs out of memory.
(I'm only guessing I wrote to Chris Derossi about this.) And i had Virtual
memory running.




-- 
___________________________________________________________
Matthew Mora
SRI International                       stores@unix.sri.com
___________________________________________________________

tecot@Apple.COM (Ed Tecot) (07/15/89)

In article <3469@shlump.dec.com> phil@vaxphw.dec.com (Phil Hunt) writes:
>Hello,
>
>I am having a problem with ColorFinder that Apple gave out.  It works great and
>I have built about 40 icons for it...When I put them in, I get a system error 25
>during the startup as it is finishing the Colorfinder disk reads.  If I pull out
>about 9-10 of the icons, it comes up ok.
>
>BTW, I tried pulling out all inits and it still does it....The Mac II at my
>office does not exhibit the problem even with inits loaded..The 2 machines are
>mirror copies of each others disk, so they should be identical.

1)	As several others have already pointed out, ColorFinder is not an Apple
	product

2)	I noticed that same bug several weeks ago and reported it to Chris.
	He knows what the bugs are and will be fixing it soon.  Coincidentally,
	he is sitting right behind me as I type.  There are a few workarounds:

a) All cicns should be purgeable only.
b) For good measure make all ICN#s purgeable and preload.  This will speed up
   the loading of these resources.  By all means, DO NOT make any ICN# or
   cicn preload without making it purgeable.
c) The two above steps reduce the chances that ColorFinder will run out of
   memory when allocating space for the icons.
d) If the problem persists, increase the sysz resource until the problem goes
   away.  Note that this probably means you have lots of icons and you are
   using scads o' RAM.
e) Wait for the commercial version (if it ever happens).

Note:  DON'T send me (Ed Tecot) mail on ColorFinder; however, Chris will be
more than happy to chat with you for hours on end (just kidding).  He's
cderossi@apple.com

						_emt