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
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