Bug 1240265 - fonttools 2.5 takes too much memory
Summary: fonttools 2.5 takes too much memory
Alias: None
Product: Fedora
Classification: Fedora
Component: fonttools
Version: 22
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 1239985 1308109
TreeView+ depends on / blocked
Reported: 2015-07-06 11:58 UTC by Akira TAGOH
Modified: 2016-04-13 07:24 UTC (History)
2 users (show)

Fixed In Version: fonttools-3.0-4.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-04-13 07:24:08 UTC
Type: Bug

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github behdad fonttools issues 317 0 None None None Never

Description Akira TAGOH 2015-07-06 11:58:37 UTC
Description of problem:
related to Bug#1239985, after upgrading fonttools to 2.5, it doesn't work anymore to decompile ttf to ttx.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.ttx -a -i -e sazanami-gothic.ttf

Actual results:
OOM killer kills the process

Expected results:
should works as it worked before.

Additional info:

Comment 1 Akira TAGOH 2015-07-07 04:06:15 UTC
There seems leak or something around the code dealing with EBDT table. Comparing between 2.4 and 2.5 about the memory usage, 2.4 takes about 140MB to dump EBDT table. but on 2.5, it fails on even 2GB.

Comment 2 Parag Nemade 2015-07-07 04:12:21 UTC
Can you please file report in upstream https://github.com/behdad/fonttools/issues ?

Comment 3 Akira TAGOH 2015-07-07 06:18:08 UTC
was going to file an issue there. https://github.com/behdad/fonttools/issues/317

Comment 4 Parag Nemade 2015-09-08 12:18:34 UTC
I just got information that on Koji server, buildvm and arm builder's have 4GB RAM whereas on Copr builder's have 5GB RAM.

Comment 5 Parag Nemade 2016-03-07 09:16:06 UTC
Fixed and pushed in F24+ for now.
Updated builds are

Comment 6 Akira TAGOH 2016-03-31 10:33:21 UTC
Parag, can you push the updates for f23?

Comment 7 Fedora Update System 2016-03-31 15:11:41 UTC
fonttools-3.0-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f3240920b0

Comment 8 Fedora Update System 2016-04-01 15:23:26 UTC
fonttools-3.0-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f3240920b0

Comment 9 Fedora Update System 2016-04-13 07:24:06 UTC
fonttools-3.0-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.