[TIMOB-11259] Android: Trying to upload a file of size 25.5 MB or above from an android device using the cloud sample app leads to an out of memory runtime error
GitHub Issue | n/a |
Type | Bug |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 2.1.2, Release 2.1.3 |
Fix Version/s | n/a |
Components | Android |
Labels | qe-and090112 |
Reporter | Smitha Guduru |
Assignee | Unknown |
Created | 2012-10-04T17:30:13.000+0000 |
Updated | 2018-02-28T20:03:54.000+0000 |
Description
Uploading a file of 25.5 MB or higher from an android device using the cloud sample app leads to an out of memory runtime error.
Steps to reproduce:
Before installing the attached app(25mb) to a device, please go to "Resources > windows > files". Add a file that is 25.5 MB(Zip) or higher to the "files" folder. Open "create.js" in "files" and replace "Skype.zip" with the file you are using. Clean the project and install it to an android device.
Also if needed for the curl commands, the attached cloud app's key is zl7TjeDZmiv9B1yKUJMtvKd6C9m30t6a (note:this is not appc_guid)
1. Launch the cloud app on an android device
2. Go to "Users > Create User"
3. Enter a Username, Password, First Name, Last Name and press the "Create" button
4. Wait for a confirmation alert after the user is created
5. Now go back to the root level and go to "Files > Create File"
6. Enter a name for the file, press "Create" button
Actual result:
If a file of size 25.5 MB or above is used to create(upload) a file, an out of memory runtime error is appearing on android.
Please see the attached screenshots and logs. This runtime error is occurring only when using android devices. Verified the ACS API for "Create file" using the curl commands and works fine.
Expected result:
If a file is uploaded, an out of memory runtime error should not occur.
Attachments
This issue is still being reproducible on android devices. \\ \\ Verified in: SDK: 3.0.0.v20121019153308, Titanium Studio: 3.0.0.201210220122 ti.cloud: 2.3.0, ti.cloudpush: 2.0.7, Device: Droid(2.2.3)
It shows runtime error when open the application. Device: Samsung galaxy s duos Android version: 4.0.4 Android Emulator: Android SDK version: 2.2