[Libreoffice-bugs] [Bug 125428] Huge ram amount used not freed

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun May 24 20:08:45 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=125428

--- Comment #32 from b. <newbie-02 at gmx.de> ---
@Noel: 

(In reply to Noel Grandin from comment #30)
> ... that particular commit is intended to _lower_ memory usage in most
> situations, by creating a shared pool of string objects to use, instead of
> every single cell and formula using it's own string object.
> 
> However, we never ever remove strings from that pool, so in this situation
> it leads to memory that this not freed until close.

hi, thanks, that explains a lot ... 

is the referencing to this list 'uni-' or 'bidirectional'? 

when i think about it ... it's a clear advantage as long as it doesn't become a
killer, and will become a killer once it's grown too big ... thus dangerous for
big sheets / projects

is it possible / a good idea to implement it similar to linux hardlinks in
filesystems, track referencing items and require the referencers to delete the
reference as soon as it is no longer needed, or to check from the list whether
the referencing objects are still 'alive'? and release the referenced string
once all referencers are dead ... ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200524/837cf761/attachment.htm>


More information about the Libreoffice-bugs mailing list