DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6768>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6768 High Xms heap settings in JVM produce org.apache.xml.dtm.DTMException: No more DTM IDs are available. ------- Additional Comments From [EMAIL PROTECTED] 2002-03-05 14:32 ------- Just a thought: If it does turn out to be related to finalizers not yet having run, one partial solution would be to code a loop which requests a GC (or two), waits a reasonable amount of time (since GC runs asynchronously), and tries again. Problem is, the gc() call is _NOT_ guaranteed to have any effect at all, nor to release everything -- especially when finalizers are involved -- nor to run in a predictable amount of time... so this would be very much a "flail about in panic and see if it helps" approach. It would probably help, but it's hardly a reliable or desirable solution. A better approach, if we can do it, would be to try to keep track of exactly when XRTreeFrags go out of scope and explicitly release them, rather than counting on GC and the finalizer to do so for us.
