Find solution

What's the relationship between .NET assembly file size and memory usage?

Check our answers to ‘What's the relationship between .NET assembly file size and memory usage?’ - we found 20 replies and comments relevant to this matter. The best answers are submitted by users of Programmers, Quora and Yahoo! Answers.

Best solution

  • Please help me understand the relationship between script file size and memory usage?

    I am programming in PHP and I have an include file that I have to, well, include, as part of my script. The include file is 400 MB, and it contains an array of objects which are nothing more than configuration settings for a larger project. Here is an example of the contents: $obj = new obj(); $obj->name = "myname"; .... $objs[$obj->name] = $obj->name; {repeat} .... return $objs; This process repeats itself 40,000 times and ultimately is 650,000 lines long (the file is generated...

    Answer:

    There's not just the file. There's the parse tree that gets generated from parsing the file, the bytecode...

    Mark as irrelevant Undo

Other solutions