https://defect.opensolaris.org/bz/show_bug.cgi?id=18602

--- Comment #12 from Jens Elkner <[email protected]> 2011-06-25 
03:53:31 UTC ---
Hmmm, I already guessed, that sometimes all the redundant copying and blind
allocation of "internal" buffers will hit somebody ;-)

In your case it seems to be a relative large document, which is held several
times in memory: toString() is used several times, which actually creates a
copy of the underlying buffer (your char[] arrays)...; also the content buffer
becomes inefficient wrt. resource usage, when it has reached a certain size
(realloc 2xsizeof(content); same thing for the writer stuff ...).

For now (just skimmed over some related classes), it seems to be fixable
without API changes.

However, is it possible to put the jar file somewhere, so that I can download
it and able to use it for internal tests?

-- 
Configure bugmail: https://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev

Reply via email to