CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: mapleleafs91

Search: Search took 0.04 seconds.

  1. Re: Loading file into memory is taking up TOO much memory!

    Thanks, I tried Visual VM and here are the results from the sampler.

    http://i.imgur.com/QhaJSmO.png

    It looks like its showing basic objects - which is hard to tell where exactly they come from....
  2. Re: Loading file into memory is taking up TOO much memory!

    Well, I think its the TableTabInfo class because I also tried loading a plain text file with the data. 100 MB in size and took up 1.6 GB in memory
  3. Re: Loading file into memory is taking up TOO much memory!

    The way I'm loading it into data is not storing that information. Only the actual text in the cell.

    Getting the data
    ((TableTabInfo)...
  4. Re: Loading file into memory is taking up TOO much memory!

    You were right about the different sizes. I loaded a second file as a new tab and it only grew a few MB, not 40 MB.

    I tried a 100 MB text file with 65000 lines and 35 columns and it took up about...
  5. Re: Loading file into memory is taking up TOO much memory!

    I do want it to run on other Operating systems like OSX though which is why I'm using java. I guess Mongo DB would not be possible then.
  6. Re: Loading file into memory is taking up TOO much memory!

    closing the filestream didn't seem to have any affect.

    i'll look into the mongo db but I still think there must be something wrong with the code above for it to be consuming that much memory.
  7. Loading file into memory is taking up TOO much memory!

    Hi, I am attempting to load a small file (Excel format for now) into memory. The excel file is roughly 80 KB in size and only contains about 20 or 30 columns and 80 rows. I've set my JVM parameters...
Results 1 to 7 of 7





Click Here to Expand Forum to Full Width

Featured