[Koha-bugs] [Bug 23685] Exporting report may consume unlimited memory

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 23 00:42:14 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23685

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcook at prosentient.com.au

--- Comment #6 from David Cook <dcook at prosentient.com.au> ---
(In reply to Didier Gautheron from comment #5)
> What were the rationals for using a big string rather than writing directly
> to SDTOUT or a temporary file?
> 
> Are theses assumptions still valid?

It looks like it used to print out to STDOUT but it was changed in Bug 11679.

After reviewing the code, I'd say it was probably a desire to make the code
more readable/easier to maintain. However, it does create this performance
problem.

Fixing the "tab" and "csv" export should be fairly trivial, but the ODS will be
harder since it's a more complex file format (ZIP compressed XML). 

I'll write another comment about that...

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list