Re: [HACKERS] 8.2.3: Server crashes on Windows using Eclipse/Junit

From: Florian Weimer <fw(at)deneb(dot)enyo(dot)de>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Trevor Talbot <quension(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Laurent Duperval <lduperval(at)yahoo(dot)com>, 'PostgreSQL' <pgsql-general(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] 8.2.3: Server crashes on Windows using Eclipse/Junit
Date: 2007-10-22 18:48:34
Message-ID: 878x5v6l4t.fsf@mid.deneb.enyo.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

* Magnus Hagander:

> Oh, that's interesting. That's actually a sideeffect of us increasing
> the stack size for the postgres.exe executable in order to work on other
> things. By default, it burns 1MB/thread, but ours will do 4MB. Never
> really thought of the problem that it'll run out of address space.
> Unfortunately, that size can't be changed in the CreateThread() call -
> only the initially committed size can be changed there.

Windows XP supports the STACK_SIZE_PARAM_IS_A_RESERVATION flag, which
apparently allows to reduce the reserved size. It might be better to do
this the other way round, though (leave the reservation at its 1 MB
default, and increase it only when necessary).

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2007-10-22 18:52:33 Re: [HACKERS] 8.2.3: Server crashes on Windows using Eclipse/Junit
Previous Message Scott Ribe 2007-10-22 18:31:57 Re: Inheritance foreign key unexpected behaviour

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2007-10-22 18:52:33 Re: [HACKERS] 8.2.3: Server crashes on Windows using Eclipse/Junit
Previous Message Simon Riggs 2007-10-22 18:43:28 Feature Freeze date for 8.4