emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "resource temporarily unavailable" errors on windows 7


From: Alex Harsanyi
Subject: Re: "resource temporarily unavailable" errors on windows 7
Date: Fri, 16 Mar 2012 09:12:50 +0800

2012/3/16 Eli Zaretskii <address@hidden>:
>> Date: Thu, 15 Mar 2012 06:04:00 +0200
>> From: Eli Zaretskii <address@hidden>
>> Cc: address@hidden
>>
>> > Date: Thu, 15 Mar 2012 08:02:42 +0800
>> > From: Alex Harsanyi <address@hidden>
>> > Cc: address@hidden
>> >
>> > >>    cp->thrd = CreateThread (NULL, 64 * 1024, reader_thread, cp,
>> > >> 0x00010000, &id);
>> > >
>> > > And does this smaller stack reservation improve the situation, if you
>> > > return the initial memory request in allocate_heap to its original
>> > > value.
>> > >
>> >
>> > Yes it does.  I'm using a build with allocate_heap starting at 2GB
>> > (the original value) and this updated CreateThread call as my working
>> > Emacs.   I will continue to use it and I will report if I see any more
>> > errors.
>>
>> OK, thanks.  If you don't see any problems with this, we could think
>> about making this fix permanent.
>
> As part of your testing, please try the code below, which should allow
> you to see whether Emacs can launch many simultaneous subprocesses (it
> can support up to 31 on Windows).
>
> Thanks.
>
>
>  (progn
>   (dotimes (i 25)
>     (start-process "hi" nil "ls")
>     (message "%d" i)))

The above code worked fine on my fixed Emacs.
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]