Control: tags -1 + fixed-upstream Am 15.10.2022 um 15:32 teilte Jakub Wilk mit:
info runs out of memory when trying to dump python3.10 docs on stdout: $ dpkg-query -W python3.10-doc python3.10-doc 3.10.7-2 $ info python3.10 > /dev/null info: memory exhausted
commit f7e8f926d74c9dda4c4bf350a407f4d9448c4d98
Author: Gavin Smith <gavinsmith0123@gmail.com>
Date: Tue Oct 18 12:42:16 2022 +0100
More efficient subnode dumping
* info/session.c (dump_node_to_stream): Take a FILE_BUFFER *
argument rather than a filename. Only get nodes from this file
buffer, using info_get_node_of_file_buffer. This avoids looking
for the file for every node when dumping subnodes.
(dump_nodes_to_file): Call info_find_file before calling
dump_node_to_stream.
Hilmar Preusse reported that "info python3.8 >/dev/null" had
extremely high memory usage. python3.8.info.gz was over 4MB
in size, and had more than 4500 nodes.
Hilmar
--
sigfault
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature