Re: 0ad: double datasize to avoid crashes

2024-05-20 Thread Thomas Frohwein
On Mon, May 20, 2024 at 09:33:25PM +, Klemens Nanni wrote: > 20.05.2024 00:13, Thomas Frohwein пишет: > > Can we do the same check for -lt like with chromium? The reason is that > > I don't think the datasize should be reduced if the user has set it > > higher than the 2G. > > Ah yes, of cours

Re: 0ad: double datasize to avoid crashes

2024-05-20 Thread Klemens Nanni
20.05.2024 00:13, Thomas Frohwein пишет: > Can we do the same check for -lt like with chromium? The reason is that > I don't think the datasize should be reduced if the user has set it > higher than the 2G. Ah yes, of course. OK kn if you want to commit that with op's '0.A.D.' -> '0 A.D.' fix, oth

Re: 0ad: double datasize to avoid crashes

2024-05-19 Thread Omar Polo
On 2024/05/19 17:13:05 -0400, Thomas Frohwein wrote: > Can we do the same check for -lt like with chromium? The reason is that > I don't think the datasize should be reduced if the user has set it > higher than the 2G. fwiw I prefer it too. > As in this counter diff: chiming in only for a small

Re: 0ad: double datasize to avoid crashes

2024-05-19 Thread Thomas Frohwein
On Sun, May 19, 2024 at 07:45:29PM +, Klemens Nanni wrote: > 19.05.2024 18:04, Thomas Frohwein пишет: > > I think the better approach is to pick an absolute datasize and set > > that (or recommend it in README or MESSAGE). See chromium's > > files/chrome: > > > > DATASIZE="716800" > > [...] >

Re: 0ad: double datasize to avoid crashes

2024-05-19 Thread Klemens Nanni
19.05.2024 18:04, Thomas Frohwein пишет: > I think the better approach is to pick an absolute datasize and set > that (or recommend it in README or MESSAGE). See chromium's > files/chrome: > > DATASIZE="716800" > [...] > if [ $(ulimit -Sd) -lt ${DATASIZE} ]; then > ulimit -Sd ${DATASIZE} ||

Re: 0ad: double datasize to avoid crashes

2024-05-19 Thread Thomas Frohwein
On Sun, May 19, 2024 at 01:42:45PM +, Klemens Nanni wrote: > My user is not in the 'staff' group and its default 1572864 is enough to > start playing a serious game, which eventually crashes when, I presume, > the world gets big enough. > > Losing your game/progress like that sucks, so I just

0ad: double datasize to avoid crashes

2024-05-19 Thread Klemens Nanni
My user is not in the 'staff' group and its default 1572864 is enough to start playing a serious game, which eventually crashes when, I presume, the world gets big enough. Losing your game/progress like that sucks, so I just doubled the limit and have been playing without crashes ever since. Is t