Friday, 15 May 2015

android - ORMLite : Out of memory Issue (loading over 30.000) -


I would like to get some help with my problem

  • A sensor via Bluetooth (Zephyr Bioharnes ).
  • Obtain values ​​and save (250 price / sec) for 2 minutes (demo purposes)
  • Store values ​​on the database with ORMLite.
  • Read all of them to create JSON ( queryForAll () ).
  • Application Crash.
  • In the future, it can save prices for 30 minutes, so this is a problem that we have to solve in an efficient manner.

    My only thoughts are reading the values ​​by blocks, can I do this with ORMLite?

    If you have a better solution, it will also be appreciated.

    Thanks in advance.


    No comments:

    Post a Comment