Reduce memory consumption
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
- Domain
- backend, performance
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
orderattribute 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from entur/netex-java-model
-
Difficulty 1/5 Under an hour Newbie friendliness 15/100
entur/netex-java-model#287 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
entur/netex-java-model#43 · 2 comments ·
Maintainers usually reply within 1 day
-
Dependency DashboardOpen
Difficulty 4/5 3-5 days Newbie friendliness 15/100
entur/netex-java-model#25 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Maintainers usually reply within 1 day
-
LocalDateTimeOpen
Difficulty 5/5 Over a week Newbie friendliness 25/100
entur/netex-java-model#4 · 12 comments ·
Maintainers usually reply within 1 day
All issues in entur/netex-java-model
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
MaikuB/flutter_appauth#683 ·
-
type: possible bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
grimmory-tools/grimmory#2850 · 1 comment ·
Maintainers usually reply within 1 day