When you get a message like X Error of failed request: BadAlloc (insufficient resources for operation) etc., then this is probably caused by a lack of memory on your X server for the pixmap of the drawing area. The drawing area is implemented as a large X color pixmap, which consumes a lot of memory. The default pixmap is about 1300 by 1300 pixels. That is enough to draw a document on two A4 pages. You can create a larger or smaller drawing area by starting the editor with the command line option -drawing "width"x"height" or by changing the initial drawing area size in View menu of the TCM start-up tool. For instance, you can start TERD with terd -drawing 800x600 which gives a drawing area that is 800 pixels wide and 600 pixels high.