swagger-api / swagger-api/swagger-codegen

OutOfMemoryError running typescript codegen

Open
#6,224 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

We are getting java.lang.OutOfMemoryError running typescript codegen using the newest container image and, this broke our build due to only latest tag being available.
(would be great to version the docker images).

  • We are running typescript-angular2

https://gist.github.com/mattrc/c58650ed887341de7226606b4e37072a

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with the newest container image and the typescript-angular2 generator, using the linked gist as the reported case. Investigate the java.lang.OutOfMemoryError and separately verify the request for versioned Docker image tags. Done means the reported build no longer fails from the codegen memory error and the image-versioning scope is addressed or clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, typescript
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.