Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kuberntes OOM Error. Very High memory usage > 15gb #2129

Open
josekidengan opened this issue Jun 29, 2021 · 2 comments
Open

Kuberntes OOM Error. Very High memory usage > 15gb #2129

josekidengan opened this issue Jun 29, 2021 · 2 comments

Comments

@josekidengan
Copy link

josekidengan commented Jun 29, 2021

Kubernetes memory usage is spiking more than 15Gb, but local run on ubuntu takes much less. I figured out that Kubernetes does not use swaps. However, I could not find any specific parameter to control this spiking of memory in case a swap is not present.
Even At 2 threads, memory usage spikes to ~15GB.

@HenryCaiHaiying
Copy link
Contributor

HenryCaiHaiying commented Jun 30, 2021 via email

@josekidengan josekidengan changed the title Memory leak: INFO Got brand-new compressor [.gz] Kuberntes OOM Error. Very High memory usage > 15gb Jul 30, 2021
@josekidengan
Copy link
Author

You can use 'jmap -histo' to print out the number of objects per class, run it a few times to see which class of objects keep increasing.

On Tue, Jun 29, 2021 at 9:21 AM Jose Thomas @.***> wrote: Although secor is working, it looks like the memory usage is constantly increasing over time eventually shuts off the system. All I could sense is an info (org.apache.hadoop.io.compress.CodecPool) INFO Got brand-new compressor [.gz] It looks like the object is being created without recycling and memory leaks is causing the system to shut down. Has anyone got a similar issue Related config secor.compression.codec=org.apache.hadoop.io.compress.GzipCodec — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#2129>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYJP77RSLDRSRNRNRTKSNLTVHXILANCNFSM47QQAVHA .

I update the comments and description with my insights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants