- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I get the following message:
ilio_malloc: out of memory -- e3406e8 bytes requested
when trying to compile a program. Is there something else I can do figure out how to work around this? WIthout changing the source code. I know the problem is a subroutine that is 300000+ lines long that are all subroutine calls. But the code is generated by another program I have no control over. So it would be much easier if the compiler could handle it.
Dave
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's one heck of a subroutine! Is it full of computed GOTOs or arithmetic IFs? (A lot of generated code I have seen does this.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dajum,
You also might want to turn off (if on) gen-interfaces/check-interfaces.
/nogen-interfaces /warn:nointerfaces
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The routine is all subroutine calls. No IFs, GOTOs or anything but CALL ...
I tried with and without optimization. I turned on and off several flags, none of them seemed to change the result, although I did get a different message in a couple cases, but still related to running out of memory. Used to work in CVF with all the optimization turned on.
The basic set of flags is:
astap.for /Od /fpe:0 /names:lowercase /Zi /Oy- /iface:cref /libs:dll /MT /iface:mixed_str_len_arg /nologo /assume:byterecl /extend_source:132 /list /traceback /link /OUT:"astap.exe" /INCREMENTAL:NO /NOLOGO /NODEFAULTLIB:"msvcrt.lib" /SUBSYSTEM:CONSOLE /MAP
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page