I'm trying to read in a file, which has 5 lines, and every line is 3-4 string long.
Here's my input file:

10:30 Hurley 1234567A 10:15
10:45 Hurley 1234567A 11:30
08:35 Jacob 1x1x1x1x1x
08:35 Jacob 1x1x1x1x1x 08:10
08:05 Jacob 1x1x1x1x1x
08:45 Sayid 33332222 09:15


And this is what I get:

10:30 Hurley 1234567A   10:15
10:45 Hurley 1234567A   11:30
08:35 Jacob  1x1x1x1x1x 11:30
08:35 Jacob  1x1x1x1x1x 08:10
08:05 Jacob  1x1x1x1x1x 08:10
08:45 Sayid  33332222   09:15


This is my code:

void enor::Read(status &amp;sx,isle &amp;dx,ifstream &amp;x){
    string str;
    getline(x, str, '\n');
    stringstream ss;
    ss &lt;&lt; str;
    ss &gt;&gt; dx.in &gt;&gt; dx.name &gt;&gt; dx.id &gt;&gt; dx.out;
    /*getline(x, str, '\n');
    x&gt;&gt;dx.in&gt;&gt;dx.name&gt;&gt;dx.id&gt;&gt;dx.out;*/
    if(x.fail())
        sx=abnorm;
    else
        sx=norm;
}


How can I read in the file without having the 3rd and 5th line filled with the 2nd and 4th line's time? I want the dx.out to be empty. Should I use another method, or is it possible to be done with stringstream? 


Question: High memory usage Windows Server 2008r2 on VMware
Answer: Well to better assist with your question:

-Which VMware Product &amp; Version
-What is the Windows 2008 R2 VM running?
-Where are you seeing the high memory usage? Windows or your VMware product?