More observations. While there is no harm in overgenerous memory allocations, there IS harm in stingy ones. When the application size gets within shouting size of the limit, there's a possibility of a GC disaster which stretches the runtime and still may or may not allow the build to succeed. Here's an example. My trial build with a 256M limit took 1386 seconds in the cull phase.
<https://lh3.googleusercontent.com/-9ry4IlfwiAs/WP50z4li40I/AAAAAAAAAGk/KJRsW6V5GTc9Rl4kAKvKP8tr7jw09qe-wCLcB/s1600/trial-256.jpg> <https://lh3.googleusercontent.com/-9ry4IlfwiAs/WP50z4li40I/AAAAAAAAAGk/KJRsW6V5GTc9Rl4kAKvKP8tr7jw09qe-wCLcB/s1600/trial-256.jpg> Whereas the same run, with a 384M limit, takes only 300 seconds in the cull phase. <https://lh3.googleusercontent.com/-9ry4IlfwiAs/WP50z4li40I/AAAAAAAAAGk/KJRsW6V5GTc9Rl4kAKvKP8tr7jw09qe-wCLcB/s1600/trial-256.jpg> <https://lh3.googleusercontent.com/-TJDKH4ngeUI/WP54_1Pe9DI/AAAAAAAAAG8/CSSu5dsZVMo0XQplXtSFvWng5D-6QChKACLcB/s1600/trial-384.jpg> <https://lh3.googleusercontent.com/-9ry4IlfwiAs/WP50z4li40I/AAAAAAAAAGk/KJRsW6V5GTc9Rl4kAKvKP8tr7jw09qe-wCLcB/s1600/trial-256.jpg> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/811db2a8-b1fa-4ce5-8868-3559018d015b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
