We're currently building a MAM application for MI Client 2.5 (SP17). We have one process (in a View Controller) that processes more than 100,000 records from the database, and it caused a java.lang.OutOfMemory exception. Does anyone know how we can increase the heap size for the MI Client (i.e. the Tomcat server running it)?
I am assuming that you use a PDA with the MI Client. The crEme comes with a default setting of 32 MB for the heap size, you can verify this by checking the jscpout.txt file in the / (root) directory of the PDA. you can increase it by doing the following. You will find the MobileEngine.lnk file in /Windows/Startup folder, edit it(you have to copy it to a desktop) and add the following -ml 64000, this will change the heap size to 64MB you can also confirm it by checking the jscpout.txt after you softreset the PDA after the editing of the file.
Hope this helps,