question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OutOfMemoryError on Dns Resolution

See original GitHub issue

I recently upgraded to 4.1.51 to pull in a fix for #10246. However, now I get an OutOfMemory issue that seems related to the same code? We have been running netty for a few months with no OOM issues until now. I plan to downgrade netty back to 4.1.50 for now.

heap dump

Expected behavior

dns resolution

Actual behavior

OutOfMemoryError

Steps to reproduce

unfortunately i am not able to provide reproduction steps.

Minimal yet complete reproducer code (or URL to code)

Netty version

4.1.51

JVM version (e.g. java -version)

java version “1.8.0_212” Java™ SE Runtime Environment (build 1.8.0_212-b10) Java HotSpot™ 64-Bit Server VM (build 25.212-b10, mixed mode)

OS version (e.g. uname -a)

Linux 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
normanmaurercommented, Aug 12, 2020

@kireet ok I know what happens… Just need to think a bit about how to solve this in a proper way. stay tuned

1reaction
normanmaurercommented, Aug 11, 2020

@kireet yeah I was not able to reproduce it as well. I will continue to debug and see if I somehow can. That said I think I will revert the Stackoverflow “fix” for now as it seems that the real reason is not really fixed which at the end then cause an OOME as we not overflow now anymore. Agree ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

DNS Server showing out of memory error. - TechNet - Microsoft
We are having Active directory integrated DNS environment having 4 Server at windows server 2003 enterprise edition.
Read more >
DNS resolution failure in high load environment with ...
DNS resolution failure in high load environment with SERVFAIL and "out of memory/success" in the log. Solution Verified - Updated July 10 ...
Read more >
Eclipse OutOfMemory Error Fix by increasing Heap Memory ...
Eclipse Out of Memory Error happens when you are working on large projects. Sometimes it's because of Permgen space (below Java 8) and ......
Read more >
LDAP search in script results in "DNS SRV: out of memory"
1 Answer 1 ... There is a bug opened on bugzilla.redhat.com that refers to your issue, but it's not going to be fixed....
Read more >
How to deliberately fail DNS resolution in Linux to crash-test a ...
SloDNS is a forwarding server specifically built for testing failure DNS modes: https://github.com/brennentsmith/slodns.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found