Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Reduce memory consumption

Open
#284 5 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
java

Research direction

Review the JAXB model types involved in PassingTimes, LocalTime, and string references, then measure memory use while processing the 12GB NeTEx file. Done means the proposed representation and deduplication changes reduce memory consumption without changing the model's required behavior.

Written by the indexing model from the issue text.

Description

I'm working on a NeTEx file that is 12GB (!) large and I'm noticing that this library consumes quite a bit of memory.

I would like to increase memory efficiency and I'm wondering if the following changes would be okay for you:

  • Using ints instead of BigInteger: PassingTimes have an order attribute which is unlikely to need the BigInteger
  • Deduplicating LocalTime instances
  • Potentially deduplicating string refs (but I'm not sure if this will really help)

@vpaturet @assadriaz

Dominant language
Java
Stars
21
Forks
15
Avg merge
4d 2h
Merged PRs (30d)
6

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from entur/netex-java-model

All issues in entur/netex-java-model

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.