windows phone 8 - OutOfMemoryException while downloading files in WP8 -


while trying download large files ( of size >170 mb ) windows mobile application getting exception

an unhandled exception of type 'system.outofmemoryexception' occurred in system.windows.ni.dll

additional information: insufficient memory continue execution of program.

the strange thing getting exception few files. code used download file

       hpubdownloader = new webclient();         hpubdownloader.openreadcompleted += (s, e) =>         {            //process response         };         hpubdownloader.downloadprogresschanged += (s, e) =>         {             int value = e.progresspercentage;             //show progress percentage , , shows till 98 % after goes exception app_unhandled exception         };         hpubdownloader.openreadasync(url); 

what might reaosn ? not getting other details exception , tried put try- catch block in webclient download code , thats not firing . might possible reasons?

follow msdn article more information - app memory limits windows phone 8

memorylimits


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -