2GB limit
Maritza Mendez
martitzam at gmail.com
Mon Oct 11 18:31:56 BST 2010
On Sun, Oct 10, 2010 at 7:08 PM, Martin Pool <mbp at canonical.com> wrote:
> On 10 October 2010 01:26, Maritza Mendez <martitzam at gmail.com> wrote:
> > [1] I expect to have repos which are large compared to physical RAM. So
> to
> > accelerate testing it turns out to be convenient to work with modest (1.5
> > GB) branches on a low-memory system. For example, back in the bzr 2.0
> days,
> > bzr just could not finish committing teh origional branch on the 512MB
> > Ububtu box. Now, with bzr 2.2, bzr survives an hour or more of
> > disk-thrashing and gets the branch committed. Yes, I am sometimes cruel.
> > We like stress testing, because we know the future will be stressful.
>
> On Ubuntu/Unix, you can use ulimit to restrict how much memory is
> available to processes started under a particular shell. This will
> not necessarily give precisely the same behaviour as a hardware limit
> (since that will also affect kernel memory usage) but it it's easy to
> vary.
>
> For example
>
> $ ulimit -v 512000
> $ bzr commit ...
>
> --
> Martin
>
Agreed. I mentioned (in another post) that I am not using ulimit because I
don;t want one effect to mask the effect I'm looking for. But now that John
has confirmed the "signature" of my traceback I can use ulimit and work
against the signature rather than work against "it's broke."
Thanks,
~M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20101011/ca7c0c29/attachment.htm
More information about the bazaar
mailing list