disk space mysteriously gone

This is a discussion on disk space mysteriously gone within the C++ Programming forums, part of the General Programming Boards category; I am using MS Visual Studio 6 for my C++ programming. I have 30MB free space when I start out ...

  1. #1
    Registered User
    Join Date
    Jan 2004
    Posts
    4

    Exclamation disk space mysteriously gone

    I am using MS Visual Studio 6 for my C++ programming. I have 30MB free space when I start out but each time I compile my program the free space decreases more and more until I get a fatal error saying I have no more disk space for compiling in the debugger. When I reboot I get this space back. I tried searching for any temp files or files in the debug folder but couldn't find any large files which grew in size. Would anybody know why 30MB would dissapear? My program isn't that complex yet (21kb for source files) to take that much space.

  2. #2
    Registered User
    Join Date
    Jan 2004
    Posts
    33
    Visual Studio creates a lot of itermidiate files when it debugs/compiles a program. It might not fill up 30mb, but thats to little disk space anyway. Get another drive.
    Last edited by /Muad'Dib\; 01-20-2004 at 03:43 PM.
    “Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. " -John Carmack

  3. #3
    Registered User heat511's Avatar
    Join Date
    Dec 2001
    Posts
    169

    virtual memory???

    when your RAM is filled up, windows uses what is known as virtual memory to save the RAM information on the hard drive and then wipes the RAM (this is a short explanation...) so it can have space again. depending on your program and if it uses a lot of RAM, it can take up a lot of hd space.

    One time I made a program (on purpose... a stupid memory eating 'virus') that made large nodes in a linked list in an infinite loop. After running for about 30 seconds... maybe a minute it had used 8 gigs of hd space. It's very likely you are doing something similar on accident. Post some code.
    "uh uh uh, you didn't say the magic word"
    -Jurassic Park

  4. #4
    Registered User
    Join Date
    Jan 2004
    Posts
    4
    It does use alot of STL containers so that could be true. I attatched the files if anyone wants to test it out.
    Attached Files Attached Files

  5. #5
    Registered User heat511's Avatar
    Join Date
    Dec 2001
    Posts
    169
    just post the code...
    "uh uh uh, you didn't say the magic word"
    -Jurassic Park

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Out of space when compiling kernel
    By NuNn in forum Linux Programming
    Replies: 3
    Last Post: 04-01-2009, 02:43 PM
  2. Formatting Output
    By Aakash Datt in forum C++ Programming
    Replies: 2
    Last Post: 05-16-2003, 08:20 PM
  3. Towers of Hanoi, special output.
    By spoon_ in forum C Programming
    Replies: 3
    Last Post: 03-15-2003, 05:08 PM
  4. hard disk space and spyware
    By oldmancan in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 01-23-2003, 12:24 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21