michelesalvador / FamilyGem

Android app for genealogical trees
https://www.familygem.app
GNU General Public License v3.0
114 stars 32 forks source link

Error message: Something went wrong #100

Closed amrij closed 4 months ago

amrij commented 11 months ago

When I upload a Gedcom file I get an error message: Something went wrong. There are over 83000 people in the Gedcom. With 1488 persons in a Gedcom of the same program it goes fine. What is the maximum of:

michelesalvador commented 7 months ago

Considering the 83000 people, it's probably an out of memory error that occurs here. I already updated the code on 22fca7f to display more suitable messages.

There is no limit on the number of persons, families or sources. The only limit is the device memory.

aaannndddyyy commented 7 months ago

Would it not be possible to process the data sequentially, so that you only load to memory what's currently needed? After all, with big trees and lots of media, you never display all of the tree not all of the media files.

michelesalvador commented 4 months ago

@aaannndddyyy The issue is about importing a GEDCOM file into Family Gem, not about opening an existing tree. Anyway no, it's not possible to process only a part of a tree: JsonParser allows only to read a whole JSON tree.