8000 Stack space overflow when converting html to rst · Issue #1197 · jgm/pandoc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Stack space overflow when converting html to rst #1197
Closed
@hoosteeno

Description

@hoosteeno

Sweet project -- thank you.

I've been able to convert smaller files in the python-nss API documentation using the below approach[0], but for some reason the particular document below causes a stack space overflow, even when the stack size is several hundred megabytes.

Steps to replicate:

$ curl http://www.mozilla.org/projects/security/pki/python-nss/doc/api/current/html/nss.nss-module.html | pandoc +RTS -K100m -RTS -f html -t rst -

Actual behavior:

Stack space overflow: current size 104857600 bytes.
Use `+RTS -Ksize -RTS' to increase it.

Version:

$ pandoc --version
pandoc 1.12.3
Compiled with texmath 0.6.6, highlighting-kate 0.5.6.

OS:

$ uname -a
Darwin hoosteenozilla.local 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64

[0] For example, this one happens almost instantaneously:

$ curl http://www.mozilla.org/projects/security/pki/python-nss/doc/api/current/html/nss.io.Socket-class.html | pandoc +RTS -K100m -RTS -f html -t rst -

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0