• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

travelping / gtp_u_edp / 72
76%
master: 76%

Build:
Build:
LAST BUILD BRANCH: improve/memory-usage
DEFAULT BRANCH: master
Ran 18 Jun 2018 01:50PM UTC
Jobs 4
Files 9
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
72

push

travis-ci

mgumz
Improve memory consumption

For every established GTP-U connection, several metric probes are
created upon connection (see src/gtp_u_edp_port.erl). Among the created
probes are 2 of type "histogram". An histogram is represented as a
process in the GTP-U-Node which will be initialized with a
`min_heap_size` of 40k WORDS (8byte on 64bit machines).

See [1] and [2] for a discussion about the issue.

Neither of the preconditions for increasing the `min_heap_size` are met:

* the histograms are kept over a long period of time (and are not short
  lived)
* the amount of processes keep growing with the amount of established
  connections

This commit sets the `min_heap_size` option of the spawned processes
responsible for the histogram to the default Erlang value and thus,
decreases the memory consumption of the histograms and allow the GC to
work.

[1]: https://github.com/Feuerlabs/exometer_core/issues/100
[2]: http://erlang.org/doc/efficiency_guide/processes.html

221 of 292 relevant lines covered (75.68%)

18.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 72.1 18 Jun 2018 01:50PM UTC 0
75.68
Travis Job 72.1
2 72.2 18 Jun 2018 01:51PM UTC 0
75.68
Travis Job 72.2
3 72.3 18 Jun 2018 01:50PM UTC 0
75.68
Travis Job 72.3
4 72.4 18 Jun 2018 01:51PM UTC 0
75.68
Travis Job 72.4
Source Files on build 72
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #72
  • 9259021c on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc