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

Поиск
Список
Период
Сортировка
От Florian Weimer
Тема Re: [HACKERS] 8.2.3: Server crashes on Windows using Eclipse/Junit
Дата
Msg-id 878x5v6l4t.fsf@mid.deneb.enyo.de
обсуждение исходный текст
Ответ на Re: 8.2.3: Server crashes on Windows using Eclipse/Junit  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-general
* 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).

В списке pgsql-general по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: [HACKERS] 8.2.3: Server crashes on Windows using Eclipse/Junit
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: 8.2.3: Server crashes on Windows using Eclipse/Junit