- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What controls the size of a module .MOD file? I have a 957 line file which is probably 40-50% comments and it produces a 5.35MB .MOD file.
I assume it must be the includes, but it still seems pretty large...
Link Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are no comments in a .mod file. It's symbol table information only. If you have very large PARAMETER constants (arrays or character strings defined), those are represented in the .mod file.
Anything in the include files gets compiled as if it was in the original source. So what's the total content of all the files?
Anything in the include files gets compiled as if it was in the original source. So what's the total content of all the files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
All my includes amount to less than 400KB...does the module expand arrays or anything like that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If they're PARAMETER arrays and are initialized, yes. If they're variables, no. Please submit the sources to Intel Premier Support so that we can look at it - ask that it be assigned to Steve Lionel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As usual I forgot my details...this is CVF6.6C on XP SP2. Do you still want to look at this, Steve? It isn't bothering me over-much...the MOD file jsut seemed curiously large. I might look into compiler options in the mean time...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am still interested - if you can send me a zip file to steve.lionel at intel.com I'd appreciate it. The module processing of CVF 6.6C is fundamentally similar to that of IVF, though we've done a lot of tweaking since then. It used to be, prior to CVF 6.6, I think, that .mod files included all the declarations of other modules it USEd, but that's no longer the case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've sent you an e-mail Steve.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the 'problem'. In all the CONTAINed functions I included my main common block definition file. If I move that include to the top of the module and remove it from each function, the .MOD file size drops to a little under 500kb.
Message Edited by judd on 07-22-2005 10:42 AM

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page