Q: When we compile in Ride we have a limitation of 64K, although we purchased a tool for Unlimited Debug. Why?
A: By default the programming is limited to 64K (or half the Flash size), but you can remove this limitation by simply unchecking the "Starter Kit Limit" option in the "Scripts" section of the "LD linker" project options.
You will find more information on this topic here:
RAM size problem with RIDE7 for STR712FR2
SRAM Memory in STM32F103ZG
And of course in the GettingStartedARM document.