Page 1 of 1
How to reduce the size of the stack?
Posted: Mon Apr 16, 2007 9:57 am
by pkmittal
Hello,
Is there any way to reduce the size of the rev stack file ?
I have observed that making small changes in the rev file increase the size of the stack tremendously ?
Please let me know if you have any insights.
Thanks
Best regards
Pradeep
How to reduce the size of the exe file?
Posted: Mon Apr 16, 2007 10:39 am
by pkmittal
Any insights on reducing the size of the standalone (exe file) ? I have a stack size of 979 KB but after creating the exe it becomes 2.80 MB.
Pradeep
Posted: Mon Apr 16, 2007 11:57 am
by Janschenkel
Hi Pradeep,
The Revolution IDE will add a number of custom properties to your controls as you edit scripts and make other modifications. These IDE-specific data chunks help the IDE remember what text was selected when you last saved the script, etc.
Chipp Walters of Altuit has created a plugin to help you remove these custom properties from your stacks. You can find it along with the other excellent Altuit plugins at
http://www.altuit.com/webs/altuit2/altP ... /about.htm
As for the standalone size: when a standalone application is created, your stack is actually wrapped around the Revolution engine. While this is different from a traditional compiler, the .NET and JAVA frameworks download sizes make the 1.9 megabyte increase in size look ridiculously small.
Best regards,
Jan Schenkel.
Re: How to reduce the size of the exe file?
Posted: Mon Apr 16, 2007 1:46 pm
by marielle
Another thing you can consider to use is "compact stack" before saving it
From the doc: "When you cut or delete a card, some free space is left within the stack. This empty space is reclaimed when you choose File menu Save. Use the compact command to reclaim this empty space without having to save the stack."
Not clear what it exactly does and whether it will help with your problem.