Talk:Bug Reporting
From Scripture Topical Guide
It is expected that there may be memory shortage issues with large topical guides. On my own topical guide I have occasionally had an odd error where a new citation, upon being added to a subject, cannot be found in the subject. (Yet, somehow is saved when the program is closed.) I was unable to determine the exact source of the bug as it does not occur predictably. However, I did find and fix a small problem in the code which may have been related. I have not seen the error since that time, but I haven't really stressed the system since that time. I expect that if the issue was memory related, that it will tend to occur more frequently as my topical guide grows. So far, the program is quite usable. (Do make frequent backups, however.)
Memory shortage issues were suspected of causing some earlier bugs, and to minimize those issues the program was modified so as to save categories (A, B, C, etc) whenever they are closed and remove their details from memory. However, it is expected that the JTree's TreeModel is holding more general details in memory. Some work might be put into managing the TreeModel or creating a custom TreeModel once memory shortage issues become a real problem.
This also suggests the possible issue, one day, of overly large categories taking a long time to open/save by themselves or requiring too much memory in combination with a few other open categories. If that ever becomes an issue, I will need to give subjects their own separate files. Possibly I could do such intelligently, making such splitting up of the data optional (from the standpoint of the XML schema). --Seanmcox 23:53, 11 November 2007 (MST)

