Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

why does IE get +3GB of my ram and crashes my computer when i try to open a serialized dataset or datatable with it. file size = 10MB

share|improve this question

migrated from stackoverflow.com Dec 15 '09 at 12:33

This question came from our site for professional and enthusiast programmers.

    
Maybe because your DataSet is too large? How large is it? –  John Saunders Dec 15 '09 at 12:20
    
notepad opens the files in 100ms.so the files don't have any problems!! –  behrooz Dec 15 '09 at 12:27
    
How are you accessing said data? –  Rowland Shaw Dec 15 '09 at 12:42
    
Short answer: it is a Microsoft product. Long answer: there is a bug. –  kmarsh Dec 15 '09 at 13:33
2  
Memory tastes nice? –  William Hilsum Dec 15 '09 at 21:58
add comment

3 Answers

up vote 1 down vote accepted

A serialized data set is XML. If you're opening XML files -- particularly large ones -- in IE, not only is the document in RAM, but so is the entire node tree, and Microsoft client-side scripts which provide the syntax highlighting and node collapsing. IE has been (for me) notoriously slow and flaky when opening XML files, so I won't do it anymore.

If you're loading it into an app via DOM loading or script (which would make this programming-related and thus qualify it to get sent back to StackOverflow), you have even more to think about -- including your script's overall performance and memory overhead.

share|improve this answer
    
it is migrated from stackoverflow by other people not me myself. –  behrooz Jan 8 '10 at 14:01
    
@behrooz: I know. I unfortunately don't have close/migrate permissions on this site, otherwise I'd have probably voted to send it back where it belongs. –  John Rudy Jan 8 '10 at 15:02
    
Just by the way, it is good policy on this site to flag questions for moderator attention, if you don't have the reputation to close/migrate them back. –  Gnoupi Feb 2 '10 at 7:05
    
@Gnoupi: Normally I would have done exactly that; however in this case, I do think it's somewhat ambiguous as to which site it truly belongs to, and fear the SO community would again kick it back here. –  John Rudy Feb 2 '10 at 12:11
add comment

I've seen IE run amok and run my machines out of RAM when there's some shaky javascript code running. Doesn't seem to handle the case of bad javascript as well as other browsers.

share|improve this answer
add comment

Using a dataset is pretty heavy as it uses alot of xml. I would recommend using JSON. Its faster easier to consume using a browser and has a small footprint

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.