J Juan Marrero Active Member Licensed User Longtime User Dec 30, 2016 #1 Hi. I developed an app back in 2015. The app is for a Pizzeria. In the app you can order for delivery, carry-out and dine-in. The order is sent to an FTP and another app in B4J open the order, prints it in the kitchen printer and display a toast message in the PC that an order has arrived. I updated the app a couple of months ago to add a Facebook link and a Google Maps link. After I upgraded to B4A 6.50 I didn't touch the app till yesterday (12/29/2016) Google started complaining about a Private Policy because I retrieve the phone number from the device to include it in the order so the pizzeria can call the customer to confirm. I decided to take out that retrieval of the phone number and just show an input dialog to enter the phone number manually. Now just a few seconds after stating compilation an OutOfMemory error is thrown appears. Code: Copy B4A version: 6.50 Parsing code. (0.15s) Compiling code. Error Exception of type 'System.OutOfMemoryException' was thrown. Any idea why? The largest PNG file in the Files folder is 376KB.
Hi. I developed an app back in 2015. The app is for a Pizzeria. In the app you can order for delivery, carry-out and dine-in. The order is sent to an FTP and another app in B4J open the order, prints it in the kitchen printer and display a toast message in the PC that an order has arrived. I updated the app a couple of months ago to add a Facebook link and a Google Maps link. After I upgraded to B4A 6.50 I didn't touch the app till yesterday (12/29/2016) Google started complaining about a Private Policy because I retrieve the phone number from the device to include it in the order so the pizzeria can call the customer to confirm. I decided to take out that retrieval of the phone number and just show an input dialog to enter the phone number manually. Now just a few seconds after stating compilation an OutOfMemory error is thrown appears. Code: Copy B4A version: 6.50 Parsing code. (0.15s) Compiling code. Error Exception of type 'System.OutOfMemoryException' was thrown. Any idea why? The largest PNG file in the Files folder is 376KB.
Erel B4X founder Staff member Licensed User Longtime User Jan 1, 2017 #2 Try to increase MaxRamForDex: https://www.b4x.com/android/forum/t...zed-dex-error-need-help-pls.10428/#post-58036 Upvote 0
Try to increase MaxRamForDex: https://www.b4x.com/android/forum/t...zed-dex-error-need-help-pls.10428/#post-58036
J Juan Marrero Active Member Licensed User Longtime User Jan 1, 2017 #3 Tried it. Didn't worked. My guess is I have to create a new project and start copying each module to see which one is not letting the project to compile. Upvote 0
Tried it. Didn't worked. My guess is I have to create a new project and start copying each module to see which one is not letting the project to compile.
Erel B4X founder Staff member Licensed User Longtime User Jan 2, 2017 #4 You can send me the project to [email protected] and I'll check it. My guess is that the problem is in one of the layout files. Try to load them in the designer and save them. Upvote 0
You can send me the project to [email protected] and I'll check it. My guess is that the problem is in one of the layout files. Try to load them in the designer and save them.
J Juan Marrero Active Member Licensed User Longtime User Jan 2, 2017 #5 Wow Erel. Your guess was correct. Thanks. Right to the root of the problem. Proceeding to create that layout again. Upvote 0
Wow Erel. Your guess was correct. Thanks. Right to the root of the problem. Proceeding to create that layout again.