Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WM 20] java.lang.outofmemoryerror while downloading files (2 replies)

$
0
0
Good morning! Anyone had received the "java.lang.outofmemoryerror" on Windev Mobile? My android application crashes and throws this error while downloading files, the file in which it crashes has a size of about 32MB, the weird thing here is the following: After it crashes, the app restarts, if you go to the download option again and try to download the same file, it will work just fine. So I don't have any idea as how to fix this issue :/ My code is the following:

PROGBAR_ProgBar1..Visible = True
LOOP_Descargas..State = Grayed
PROGBAR_ProgBar1 = 0
HTTPProgressBar(PROGBAR_ProgBar1)
bCorrecto is boolean = HTTPRequest(sRuta)

bufZip is Buffer
IF bCorrecto = True THEN
bufZip = HTTPGetResult(httpResult)
END

HTTPProgressBar("")
PROGBAR_ProgBar1..Visible = False
LOOP_Descargas..State = Active

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>