MakeOTF error: can't allocate region

Cool thanks Georg, I am running it now without subroutines, and it seems to work! I have to divide my GSUB feature classes in bunches of 300o now to avoid the overflow of subtable problem:

GSUB feature 'locl' causes overflow of offset to a subtable (0x1156e)

I think I will write a script for this, unless you know of one?