Re: Build limits for specific package

2021-09-24 Thread Christian Ehrhardt
On Fri, Sep 24, 2021 at 7:53 AM Christian Ehrhardt
 wrote:
>
> On Fri, Sep 24, 2021 at 7:50 AM Christian Ehrhardt
>  wrote:
> >
> > On Thu, Sep 23, 2021 at 8:37 PM Nicholas Guriev  wrote:
> > >
> > > Hi folks!
> > >
> > > What is actual RAM limit on Launchpad for building packages for Ubuntu?
> >
> > Hi Nicholas,
> > Default, 1.5GB 1 vCPU
> > Can be bumped to 8GB 4vCPU
> >
>
> Arr, I misread as you talk about build and I answered for testing :-/
> There is something similar for that though, let me look for the links 

Unfortunately I found nothing useful and eventually got the
confirmation (thanks Wgrant) that all builders of a given architecture
share the same specs and no method to vary it.
I'll track down what I thought to remember because I'm curious now,
but that might not help you and will take a while...

> > > I noticed some builds of the telegram-desktop package failed with an
> > > error "virtual memory exhausted: Cannot allocate memory". For example:
> > >
> > > https://launchpad.net/ubuntu/+source/telegram-desktop/2.9.2+ds-1ubuntu2/+build/22012030
> > >
> > > At last, I was forced to lower debug info by the -g1 compiler flag in
> > > attempting to reduce main memory consumption. But sadly this makes
> > > generated stacktraces hardly readable.
> > >
> > > Is there a chance to raise the limit for the package?
> >
> > IMHO [1] will be a good start paragraph to read and provide you all
> > the links you will need to get to the details and how to change it per
> > package.
> >
> > [1]: 
> > https://github.com/canonical/ubuntu-maintainers-handbook/blob/main/ProposedMigration.md#test-framework-timeouts-and-out-of-memory
> >
> > > --
> > > Ubuntu-devel-discuss mailing list
> > > Ubuntu-devel-discuss@lists.ubuntu.com
> > > Modify settings or unsubscribe at: 
> > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
> >
> >
> >
> > --
> > Christian Ehrhardt
> > Staff Engineer, Ubuntu Server
> > Canonical Ltd
>
>
>
> --
> Christian Ehrhardt
> Staff Engineer, Ubuntu Server
> Canonical Ltd



-- 
Christian Ehrhardt
Staff Engineer, Ubuntu Server
Canonical Ltd

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Build limits for specific package

2021-09-23 Thread Christian Ehrhardt
On Fri, Sep 24, 2021 at 7:50 AM Christian Ehrhardt
 wrote:
>
> On Thu, Sep 23, 2021 at 8:37 PM Nicholas Guriev  wrote:
> >
> > Hi folks!
> >
> > What is actual RAM limit on Launchpad for building packages for Ubuntu?
>
> Hi Nicholas,
> Default, 1.5GB 1 vCPU
> Can be bumped to 8GB 4vCPU
>

Arr, I misread as you talk about build and I answered for testing :-/
There is something similar for that though, let me look for the links 


> > I noticed some builds of the telegram-desktop package failed with an
> > error "virtual memory exhausted: Cannot allocate memory". For example:
> >
> > https://launchpad.net/ubuntu/+source/telegram-desktop/2.9.2+ds-1ubuntu2/+build/22012030
> >
> > At last, I was forced to lower debug info by the -g1 compiler flag in
> > attempting to reduce main memory consumption. But sadly this makes
> > generated stacktraces hardly readable.
> >
> > Is there a chance to raise the limit for the package?
>
> IMHO [1] will be a good start paragraph to read and provide you all
> the links you will need to get to the details and how to change it per
> package.
>
> [1]: 
> https://github.com/canonical/ubuntu-maintainers-handbook/blob/main/ProposedMigration.md#test-framework-timeouts-and-out-of-memory
>
> > --
> > Ubuntu-devel-discuss mailing list
> > Ubuntu-devel-discuss@lists.ubuntu.com
> > Modify settings or unsubscribe at: 
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
>
>
>
> --
> Christian Ehrhardt
> Staff Engineer, Ubuntu Server
> Canonical Ltd



-- 
Christian Ehrhardt
Staff Engineer, Ubuntu Server
Canonical Ltd

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Build limits for specific package

2021-09-23 Thread Christian Ehrhardt
On Thu, Sep 23, 2021 at 8:37 PM Nicholas Guriev  wrote:
>
> Hi folks!
>
> What is actual RAM limit on Launchpad for building packages for Ubuntu?

Hi Nicholas,
Default, 1.5GB 1 vCPU
Can be bumped to 8GB 4vCPU

> I noticed some builds of the telegram-desktop package failed with an
> error "virtual memory exhausted: Cannot allocate memory". For example:
>
> https://launchpad.net/ubuntu/+source/telegram-desktop/2.9.2+ds-1ubuntu2/+build/22012030
>
> At last, I was forced to lower debug info by the -g1 compiler flag in
> attempting to reduce main memory consumption. But sadly this makes
> generated stacktraces hardly readable.
>
> Is there a chance to raise the limit for the package?

IMHO [1] will be a good start paragraph to read and provide you all
the links you will need to get to the details and how to change it per
package.

[1]: 
https://github.com/canonical/ubuntu-maintainers-handbook/blob/main/ProposedMigration.md#test-framework-timeouts-and-out-of-memory

> --
> Ubuntu-devel-discuss mailing list
> Ubuntu-devel-discuss@lists.ubuntu.com
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss



-- 
Christian Ehrhardt
Staff Engineer, Ubuntu Server
Canonical Ltd

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Build limits for specific package

2021-09-23 Thread Nicholas Guriev
Hi folks!

What is actual RAM limit on Launchpad for building packages for Ubuntu?

I noticed some builds of the telegram-desktop package failed with an
error "virtual memory exhausted: Cannot allocate memory". For example:

https://launchpad.net/ubuntu/+source/telegram-desktop/2.9.2+ds-1ubuntu2/+build/22012030

At last, I was forced to lower debug info by the -g1 compiler flag in
attempting to reduce main memory consumption. But sadly this makes
generated stacktraces hardly readable.

Is there a chance to raise the limit for the package?



signature.asc
Description: This is a digitally signed message part
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss