From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.devel
Subject: Re: "resource temporarily unavailable" errors on windows 7
Date: Tue, 13 Mar 2012 05:57:30 +0200
Message-ID: <83vcm9w3th.fsf@gnu.org>
References: <CAH-ciFoNr0U7FfJ488MCLSS+zCc6WFF1YrZsQaXXfbL0V8docw@mail.gmail.com>
	<83aa3lybos.fsf@gnu.org>
	<CAH-ciFpTUaMyqZgy-OBrM0S=DKq=KVRsg8Y74DYuEgvOyDk-=Q@mail.gmail.com>
	<CAH-ciFryjk30BsozbaNx8n19aa5LaJFG_=EU1x+osoX3v=Kmsg@mail.gmail.com>
Reply-To: Eli Zaretskii <eliz@gnu.org>
NNTP-Posting-Host: plane.gmane.org
X-Trace: dough.gmane.org 1331611077 21454 80.91.229.3 (13 Mar 2012 03:57:57 GMT)
X-Complaints-To: usenet@dough.gmane.org
NNTP-Posting-Date: Tue, 13 Mar 2012 03:57:57 +0000 (UTC)
Cc: emacs-devel@gnu.org
To: Alex Harsanyi <alexharsanyi@gmail.com>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 13 04:57:56 2012
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Envelope-to: ged-emacs-devel@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1S7Iry-00018V-RQ
	for ged-emacs-devel@m.gmane.org; Tue, 13 Mar 2012 04:57:54 +0100
Original-Received: from localhost ([::1]:55770 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1S7Irx-0007zi-PZ
	for ged-emacs-devel@m.gmane.org; Mon, 12 Mar 2012 23:57:53 -0400
Original-Received: from eggs.gnu.org ([208.118.235.92]:45001)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eliz@gnu.org>) id 1S7Iru-0007zY-OH
	for emacs-devel@gnu.org; Mon, 12 Mar 2012 23:57:51 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eliz@gnu.org>) id 1S7Irt-0006EI-4H
	for emacs-devel@gnu.org; Mon, 12 Mar 2012 23:57:50 -0400
Original-Received: from mtaout22.012.net.il ([80.179.55.172]:44579)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@gnu.org>)
	id 1S7Irs-0006EC-Rn
	for emacs-devel@gnu.org; Mon, 12 Mar 2012 23:57:49 -0400
Original-Received: from conversion-daemon.a-mtaout22.012.net.il by
	a-mtaout22.012.net.il (HyperSendmail v2007.08) id
	<0M0T004001LVH600@a-mtaout22.012.net.il> for
	emacs-devel@gnu.org; Tue, 13 Mar 2012 05:57:20 +0200 (IST)
Original-Received: from HOME-C4E4A596F7 ([77.124.179.236]) by a-mtaout22.012.net.il
	(HyperSendmail v2007.08) with ESMTPA id
	<0M0T003GN1NJXFL0@a-mtaout22.012.net.il>;
	Tue, 13 Mar 2012 05:57:20 +0200 (IST)
In-reply-to: <CAH-ciFryjk30BsozbaNx8n19aa5LaJFG_=EU1x+osoX3v=Kmsg@mail.gmail.com>
X-012-Sender: halo1@inter.net.il
X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta)
X-Received-From: 80.179.55.172
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.emacs.devel:148994
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/148994>

[Please keep the list on the CC.]

> Date: Tue, 13 Mar 2012 09:31:18 +0800
> From: Alex Harsanyi <alexharsanyi@gmail.com>
> 
> Just a quick update: I modified allocate_heap() to start asking for
> 1.5GB initially and that also seemed to fix the subprocess creation
> problem.

What value exactly did you use?

Also, how much virtual memory do you have on that machine?  Is it
possible that enlarging the amount of virtual memory lets Emacs run OK
even with the original 1.8GB allocation size?

Finally, what happens if you start an Emacs session (with the 1.5GB
allocation that you say work for you), and then start another Emacs
session without exiting the first one?  Does the second session start
successfully and is able to start subprocesses normally?