- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In particular, I notice that the size of my executable using CVF is about 13MB. For IVF, the same executable is over 30MB. This is using similar, if not exactly the same, compiler options.
Is there something I'm missing in link options between the two?
Linda
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'll bet you have bounds checking enabled. That will dramatically inflate the executable size. It's on our list to look at, but at present, since no customer has complained that I know of, it's not been given a high priority.
The size is not in code but in data - text for the message that is displayed. The compiler could be smarter in reducing duplication of the text.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did have bounds checking enabled -- I'm recompiling now to see what taking it out does. It did indeed help -- now at 6MB for IVF. (I will do CVF later)
Of course, I have it enabled in the other compilers as well. What happens if you turn it off and have a array out of bounds error? (I do still have trace enabled.)
Linda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you have bounds checking off and exceed array or stringbounds, the results are unpredictable.

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