- This topic has 0 replies, 1 voice, and was last updated 12 years, 2 months ago by support-michael.
-
AuthorPosts
-
support-michaelKeymasterHow to Increase MobiOne Memory Settings
Background
In some situations such as large projects MobiOne may exhaust its operating memory. When this happens MobiOne must be restarted to resume proper operations. But continued use of the same resource intensive projects will eventually lead to another out of memory situation. We recommend the following actions when using MobiOne in tight memory situations:1) Optimize your project to use fewer or smaller resources
For example use efficient image formats that are properly sized for your application. Also consider use of image compression utilities. A quick google query will provide lots of guidance, how-tos and online and desktop utilities to assist you in this task. e.g., http://www.splashnology.com/article/how-to-optimize-png-and-jpeg-without-quality-loss-part-1/2071/2) Increase the MobiOne memory settings
MobiOne is a Java program built on top of the Eclipse rich client platform (RCP) which reads a configuration file with the memory settings on startup. The -Xmx setting defines the maximum heap space that MobiOne may request from the Windows operating system. This is the type of memory that is typically exhausted in resource intensive projects.
The setting format is -Xmx<number>m
-Xmx indentifies the setting as maximum heap space to allocation
<number>m is the heap size in megabytes, the trailing m character must be included1) Open the mobione.ini file in editor such as notepad or wordpad
Win7/Vista: C:\Users\youraccount\AppData\Local\MobiOne Studio\MobiOne 1.3.1\mobione.ini
XP: C:\Program Files\MobiOne Studio\MobiOne 1.3.1\mobione.ini2) Near the bottom of the file change this line
-Xmx512mto one of the following
-Xmx512m
-Xmx640m
-Xmx768m
-Xmx896m
-Xmx1024m
See attachment heap-settings.png
3) Save file
4) Launch MobiOne and test
If MobiOne will not launch after increasing memory settings simply rollback to a former working maximum heap size setting.Conclusion
We continuously profile and analyze the MobiOne memory usage model. We expect to reduce the excessive memory usage over time with each successive product release.Attachments:
You must be logged in to view attached files. -
AuthorPosts