While an explicit memory limit is not configurable, there are a number of
knobs in Prometheus that one can configure that limit resource usage along
certain dimensions, for example
https://www.robustperception.io/limiting-promql-resource-usage.

There's also a setting that prevents a maximum number of samples ingested
per scrape.

On Wed, Feb 19, 2020 at 5:34 PM Julien Pivotto <[email protected]>
wrote:

> On 19 Feb 08:24, adi garg wrote:
> > So what will happen if prometheus crosses the RAM limit, will it die? Or
> is
> > it gonna affect the other processes running on the system?
>
>
> It is the operating system that will chose. Prometheus will probably be
> terminated by the operating system.
>
> >
> > On Wednesday, February 19, 2020 at 9:41:36 PM UTC+5:30, Julien Pivotto
> > wrote:
> > >
> > > On 19 Feb 08:08, adi garg wrote:
> > > > Hello experts,
> > > >
> > > > Is there any way to give memory specifications by ourselves in
> > > prometheus?
> > >
> > > Hello,
> > >
> > > No, this is not possible. Prometheus will use the memory it needs.
> > >
> > > Regards,
> > >
> > > >
> > > > --
> > > > You received this message because you are subscribed to the Google
> > > Groups "Prometheus Developers" group.
> > > > To unsubscribe from this group and stop receiving emails from it,
> send
> > > an email to [email protected]
> > > <javascript:>.
> > > > To view this discussion on the web visit
> > >
> https://groups.google.com/d/msgid/prometheus-developers/0fb6ec18-c2a8-437f-9d2b-5cc2b9f5b330%40googlegroups.com.
>
> > >
> > >
> > >
> > > --
> > >  (o-    Julien Pivotto
> > >  //\    Open-Source Consultant
> > >  V_/_   Inuits - https://www.inuits.eu
> > >
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "Prometheus Developers" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-developers/df7bdc80-b95f-4f02-88d1-664d3cf3c651%40googlegroups.com
> .
>
>
> --
>  (o-    Julien Pivotto
>  //\    Open-Source Consultant
>  V_/_   Inuits - https://www.inuits.eu
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prometheus Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-developers/20200219163423.GA6819%40oxygen
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/CA%2BT6YoyDiL%3D7i14%3DChRsWV5ws3aOT77owWtvyzw9R8G8jZDWPg%40mail.gmail.com.

Reply via email to