From: | huawei(dot)zhoujianpeng(at)huawei(dot)com |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #13992: psql.exe occur a mistake "R6016 - not enough space for thread data" |
Date: | 2016-02-28 05:00:11 |
Message-ID: | 20160228050011.10543.11794@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 13992
Logged by: It will occurs a mistake "R6016 - not enough space for thread data" while
running psql.exe repeatedl
Email address: huawei(dot)zhoujianpeng(at)huawei(dot)com
PostgreSQL version: 9.2.15
Operating system: Windows 7 Professional
Description:
1. My test Platform:
Windows 7 Professional Service Pack 1 32bit
Microsoft Windows [Version 6.1.7601]
2. test steps:
step1: download postgresql-9.2.15-1-windows-binaries.zip
step2: uncompress all sub-directories to "C:\Program Files\gaussdb"
step3: initdb
C:\Program Files\gaussdb\bin>initdb -D "d:\data"
step4: start server
C:\Program Files\gaussdb\bin>pg_ctl start -D d:\data
step5: Connect to the database to perform a simple query by constantly
calling psql.exe by a bat script.
the script is very easy, it's source code as followings:
@echo off
set n=0
:myAuto
"C:\Program Files\gaussdb\bin\psql.exe" -d postgres -c "select 1;"
echo %n%
set /a n+=1
if %n%==1000000000 (exit)
goto myAuto
When it is running for a period of time, an error will occur as followings:
Runtime Error!
Program:
R6016
- not enough space for thread data
3. I search some error about R6016, microsoft has some explain
https://msdn.microsoft.com/en-us/library/d509d9f9.aspx
and
https://support.microsoft.com/en-us/kb/126709#/en-us/kb/126709
but i still don't know the reason, is it a bug of psql.exe or some other
reason?
and win7 64bit platform can also occur the error besides win7 32bit
platform.
From | Date | Subject | |
---|---|---|---|
Next Message | mathias.zajaczkowski | 2016-02-28 20:08:12 | BUG #13993: Temp sequence does not seem to be properly deleted |
Previous Message | Chris Tessels | 2016-02-26 09:51:52 | Re: BUG #13985: Segmentation fault on PREPARE TRANSACTION |