From: Rob B. <rb...@qu...> - 2001-08-03 17:48:43
|
> Posted to c.l.t and tcl-mac mailing list. Wish 8.3.3 on MacOS 9.0 >(ppc). I am starting to port my program to Mac. After finding how to >make an executable and adding some mac-specific stuff to my OS-specific >sections, it seems to work ok (it at least loads :) ). I am having the >following problems: My program revolves around up to about 120 (maybe a >bit more) photo images being moved around three canvases. Sometimes I can >load up to about 30, but more than that always seems to crash Wish. >bgerror does not catch it, and sometimes an 'Error 25' is displayed. Welcome to classic MacOS ( < OS X ) :p ID 25 means QuickDraw, the graphics layer in the OS, could not get RAM to satisfy a need that was graphics related. QD is written in a very "optimistic" style which means, there's not much in the way of error reporting. I will go out on a limb and guess that the "partition size" or "memory allocation" for your Tcl app (or Tcl shell that in turn runs your code) is not high enough for its needs. Which jibes with the problem description. The way you would increase the amount of RAM available to Wish: a. select the Wish executable icon b. hit Get Info in the FInder (command-I) c. click on the popup and change to "memory" d. adjust to suit. I would recommend ZoneRanger as an excellent tool for watching the shell's real memory usage within its heap in real time. You can download it here: http://www.metrowerks.com/tools/software/zoneranger/ -- Rob Barris Quicksilver Software Inc. rb...@qu... |