www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - VD Insufficient memory

reply Rufus Smith <RufusSmith indi.com> writes:
Not sure if this is a VS or VD bug. Removing folders and files 
outside Visual Studio, while they are still open, then trying to 
close them locks up VS. Every interaction produces an 
insufficient memory type of error.
Jul 20 2016
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 20.07.2016 23:58, Rufus Smith wrote:
 Not sure if this is a VS or VD bug. Removing folders and files outside
 Visual Studio, while they are still open, then trying to close them
 locks up VS. Every interaction produces an insufficient memory type of
 error.
Works here. If the folder is removed the "save as" dialog is shown when trying to save a file. Also tried on a project, no problem.
Jul 21 2016
parent Rufus Smith <RufusSmith indi.com> writes:
On Thursday, 21 July 2016 at 21:05:25 UTC, Rainer Schuetze wrote:
 On 20.07.2016 23:58, Rufus Smith wrote:
 Not sure if this is a VS or VD bug. Removing folders and files 
 outside
 Visual Studio, while they are still open, then trying to close 
 them
 locks up VS. Every interaction produces an insufficient memory 
 type of
 error.
Works here. If the folder is removed the "save as" dialog is shown when trying to save a file. Also tried on a project, no problem.
Ok, I get this error a lot. Do this: Create a new VD project. Drag and drop some library files hierarchy stuff from some project or create a bunch of folders and dummy d files in Windows explorer(not in Visual studio, as the folders are not true folders). Once you have some hierarchy created, drag the root folder in to the VD project solution. It should pop all the files in their. Open up all the d files. Make some changes(dummy space) in some, rename some folders and files inside VS, rename some folders and files to different stuff in windows explorer(or whatever file manager you use). Try to build. Keep on doing this for about 1-5 mins. You should eventually end up with something that causes an insufficient memory problem and then everything you try to do after will produce that error and you'll have to kill VS. I get it when I keep a d file open in VS but remove it inside VS or the directory it contains inside the solutions project. If you can't duplicate it I'll create a dummy project that should do it. It is somewhat random though. Also, can you add a DMD, GDC, LDC project type. I always have to add one or the other manually.
Jul 23 2016