java - App crash when receiving data size 30 MB is loaded about 50% from bluetooth -
i new android dev , app developing send data format byte array via bluetooth , have use bluetooth library here.it easy use , lite weigth. ,app running fine when size of data <= 15 mb.but app crash happen when receiving data size 30 mb loaded in progress bar 50 % . don't know why , how fix it.
another question, have implement recieved data activity service.but when service start allocate memory 20 mb , alway increase allocate ram when reciveing data .finally app crash again
there limit on memory allocated java code. max allocated size depends on android version , device vendor.
Comments
Post a Comment