what is the size of your DBs?
   ref:  ERROR #94: Total size of all databases would exceed the licensed amount.
   just gives a reason.
 could be there are parts you don't need at all.
you talk about ROUTINES - > 10GB of routine sounds rather unrealistic.
So splitting routines from globals  might be a useful exercise.
In addition the size of Db does  say nothing of the size of the content. 
some GBLOCKCOPY may help to shrink the DB.
And as you write Cache.DAT why not do it on Caché if you did this before ?