Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: rbowman Newsgroups: alt.os.linux,comp.os.linux.misc,comp.os.linux.advocacy Subject: Re: "while(1);" borks Visual Studio. Date: Sun, 8 Aug 2021 22:19:09 -0600 Lines: 29 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net HQi1BUX7MoYP2F4Ao6jqqw8kHz8Jk8DYMBg+zJ2JLM3TbiJlkl Cancel-Lock: sha1:1d8oWuLQYUYmQldB3ECZ/M51H5A= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 In-Reply-To: Xref: csiph.com alt.os.linux:70513 comp.os.linux.misc:32761 comp.os.linux.advocacy:592021 On 08/08/2021 07:11 PM, Jeff-Relf.Me@. wrote: > Bowman: >> I'm not a power user of the VS editor but >> 35 years later it seems to lack the features of Brief. > > My macros & extensions to Visual Studio 2019: http://Jeff-Relf.Me/Macros.HTM > > In Visual Studio, I'm editing a small, recently opened text file. > AutoRecover is turned off. > > For that, it's consuming 1.8 gigabytes of RAM, and growing rapidly; > occasionally, it drops back down to "just" 1.2 gigabytes. > > Just now, it disappeared from the task manager altogether, > showing up again only after ReStarting the task manager. > > Every time I debug my app, memory usage goes up, > briefly topping 2 gigabytes, _after_ exiting the app/debugger. > Hmmm... it's a memory leak, apparently. > > I ReStarted Visual Studio, now it's consuming 186 megabytes, > no more memory leaking. > > "while(1);" borks Visual Studio, apparently. > It would tend to do that. Even a more complex while statement that doesn't have any natural points where it will block will try for 100% of the cpu. At least now it only ties up one core.