Article # 200, added by Geoworks, historical record
| first | previous | index | next | last |

Glue: _TEXT is very large, that is a BAD thing




Here's what to do if Glue starts giving you this warning
	Warning: _TEXT is very large, that is a BAD thing

First of all, this error indicates that the code resource in the
.goc file is too large (has grown larger than 10K).  The code
resource is automatically created and contains code from your method
handlers.  

To reduce the size of the _TEXT resource, you must take some of the
methods out of that source file and put them into a new file.  For 
instance, I usually have a .goc file for each class's methods.  If 
I've got process class methods, I have a process.goc file for them.
If I've got a subclassed view class then I have a view.goc file for
those methods.

If you have never split your code into multiple source files before,
check out the file LRGSORCE.TXT on the Developer Relations web site:

  http://www.geoworks.com/devrel/download.htm