New topic: Application file size
<http://forums.realsoftware.com/viewtopic.php?t=34356> Page 1 of 1 [ 4 posts ] Previous topic | Next topic Author Message David Blythe Post subject: Application file sizePosted: Tue Jun 22, 2010 8:40 am Joined: Mon May 17, 2010 8:27 am Posts: 5 For my first practice App I created a Tic Tac Toe game. Its very simple, with 1 window, 1 control array, about 12 button controls. I was surprised to see the compiled app used 9.8 meg of disk space! Are there ways to limit this? How big will it get when I write a "real" app? Top jefftullin Post subject: Re: Application file sizePosted: Tue Jun 22, 2010 9:01 am Joined: Wed Nov 15, 2006 3:50 pm Posts: 1667 Location: England Quote:I was surprised to see the compiled app used 9.8 meg of disk space! You and everyone else. The thing to bear in mind here is that an RB app does not require 400mb+ of runtime libraries to be installed first, in the way that .NET does. (That's small consolation to a user, who usually has the .NET libraries already installed, and can therefore accept an EXE which is a matter of a few K in size.) If you incorporate pictures, these bloat your app size too. If the app size is an issue, keep the resource files like databases and images as external. Your real app won't get much larger in a hurry. My biggest one runs to 26Mb, compiled as a Universal Binary on OSX If you only target Intel machines, you can almost halve the app size by choosing an Intel-only build. _________________ RB2009 R5.1 and RB2008 Mac 10.6 + Windows 7/XP + Ubuntu Linux in Vmware on a Macbook 2.16 Top pony Post subject: Re: Application file sizePosted: Tue Jun 22, 2010 1:00 pm Joined: Sat Nov 11, 2006 2:43 pm Posts: 765 Location: DFW area, Texas, USA Whenever you build an application the IDE bundles all the framework, whether you use it all or not. I believe the same can be said for any plugins you use, even if you only use a simple small class then the whole plugin framework will be included. The RealStudio framework had ballooned to be a huge behemoth as it grew to include more features and functionality. Real is changing the way it compiles your code, and introducing a whole new backend: http://www.realsoftwareblog.com/2010/03 ... aster.html Its taking time, but I believe its going to be worth the work. _________________ Fly like a mouse, run like a cushion, be the small bookcase. http://www.wish-sandwich.com Top MonkeybreadSoftware Post subject: Re: Application file sizePosted: Tue Jun 22, 2010 3:33 pm Joined: Wed May 10, 2006 2:42 pm Posts: 1260 Location: Germany pony wrote: I believe the same can be said for any plugins you use, even if you only use a simple small class then the whole plugin framework will be included. That is not correct. Only referenced plugin parts are added. Greetings Christian _________________ Around 29000 functions in 1500 classes in one plugin collection. The Monkeybread Software Realbasic Plugin v10.1. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml Watch our REALbasic podcast in iTunes or on our website. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 4 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
