[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pnet-developers] [Bug #2806] CSCC virtual memory exhausted
From: |
Rhys Weatherley |
Subject: |
Re: [Pnet-developers] [Bug #2806] CSCC virtual memory exhausted |
Date: |
Sun, 16 Mar 2003 07:25:37 +1000 |
User-agent: |
KMail/1.4.3 |
On Sunday 16 March 2003 02:46 am, James Michael DuPont wrote:
> tells me the real error. But the last line threw me off.
>
> I did not explain myself correctly, and I did not understand that the
> virtual memory was the result of the type not being found.
>
> Can you please reopen the bug, or should I log a new one?
The problem here is that there isn't much that we can do about it. In
"-nostdlib" mode, the compiler assumes that the user's program is supplying
all of the standard classes (Object, ValueType, Array, Int32, etc) that the
compiler needs for minimal functionality. In your test case, you are not
supplying any of these.
If a standard class doesn't exist, then a function deep in the compiler code
will return NULL. This will then confuse higher-level code into thinking
that the system is out of memory since NULL is also reported in that case.
The NULL tests are scattered all over the code.
Since this issue will only occur when a user deliberately tries to build
mscorlib.dll incorrectly, it is easier to treat it as a quirk and tell users
to avoid using "-nostdlib" incorrectly. The mscorlib.dll assembly cannot be
built in pieces: it is an interlocked whole that must be built in one go.
Cheers,
Rhys.
- [Pnet-developers] [Bug #2806] CSCC virtual memory exhausted, nobody, 2003/03/15
- [Pnet-developers] Re: [Bug #2806] CSCC virtual memory exhausted, James Michael DuPont, 2003/03/15
- Re: [Pnet-developers] [Bug #2806] CSCC virtual memory exhausted, James Michael DuPont, 2003/03/15
- Re: [Pnet-developers] [Bug #2806] CSCC virtual memory exhausted,
Rhys Weatherley <=
- Re: [Pnet-developers] [Bug #2806] CSCC virtual memory exhausted, James Michael DuPont, 2003/03/15
- Re: [Pnet-developers] [Bug #2806] CSCC virtual memory exhausted, Rhys Weatherley, 2003/03/15
- Re: [Pnet-developers] [Bug #2806] CSCC virtual memory exhausted, Norbert Bollow, 2003/03/18
- Re: [Pnet-developers] [Bug #2806] CSCC virtual memory exhausted, Rhys Weatherley, 2003/03/18
- Re: [Pnet-developers] [Bug #2806] CSCC virtual memory exhausted, Fergus Henderson, 2003/03/18
- Re: [Pnet-developers] [Bug #2806] CSCC virtual memory exhausted, Rhys Weatherley, 2003/03/19
- Re: [Pnet-developers] [Bug #2806] CSCC virtual memory exhausted, Fergus Henderson, 2003/03/19
- Re: [Pnet-developers] [Bug #2806] CSCC virtual memory exhausted, Rhys Weatherley, 2003/03/19
- Re: [Pnet-developers] [Bug #2806] CSCC virtual memory exhausted, Fergus Henderson, 2003/03/19
- Re: [Pnet-developers] [Bug #2806] CSCC virtual memory exhausted, Rhys Weatherley, 2003/03/19