Skip to content

"fatal error: runtime: out of memory" with site with large number of links #185

Open
@MarkvanMents

Description

@MarkvanMents

Hi Will,
I want to use htmltest for the internal links on my large Hugo-generated website.
Running on Windows 10, it tests 3095 documents in around 3 minutes and has helped me to resolve some missing internal links. Exactly what I want.

When I put it into my Travis job to build the site automatically, however, htmltest fails with fatal error: runtime: out of memory.
It seems that my Travis job is only given 8GB RAM - when I run under Windows, htmltest takes 16GB available to it (out of 24GB physical memory on the motherboard).
I tried setting up a 20GB swap file for Travis. This stops the fatal error, but htmltest is still running after 30 minutes and eventually gets killed by Travis.

Is this a known issue? Are there any options I have missed to tell htmltest to use less memory?

Let me know if you would like any more information. I would really like to use your tool if I can as it seems very fast and flexible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions