My application closes when reading a large file

In my application, which is supposed to display the list of emergency defibrillators on a map, it crashes as soon as the data file is read. The file is about 58 MO. What can I do to fix this problem?

Here is the AIA file: DAE.aia (11.1 KB)

Thanks in advance

Hello,

After downloading the dataset (included in the code), it appears to be very heavy (more that 100Mb (or 100Mo in French)) :

Try to split the file into smaller pieces (and make necessary changes in the code)

To find out what exactly happens, use logcat

Where do you get the data from? Probably there is an API available and you could use the web component to get it?

Taifun