I populate a database with lots of entries, but after 7000 rows (about 600 entries), it throws java heap size limit exceeded. I tried to change the heap size in the config file of the avd from 32 to 64. I tried to put -Xmx1024 to change the heap size of all the java application (in control panel). Nothing worked so far, any suggestion? THanks in advance
up:
cv.put(KEY_NAME, "name");
cv.put(KEY_HOTNESS, "hotness");
cv.put(KEY_CALORIE, "50");
cv.put(KEY_FAT, "5");
cv.put(KEY_CARBS, "5");
cv.put(KEY_PROT, "5");
cv.put(KEY_MULTI, "1");
ourDatabase.insert(DATABASE_TABLE, null, cv);