The RIDE compiler you are using could be the limited code compiler(512bytes as written by you). The one available at st website is the limited one. For the full verison you have to purchase it from RIDE.