We have a VB6 app that calls out to a .NET DLL. Occasionally, after the VB6 app has been running for a long time and has called the .NET code a lot, the .NET side of things throws an OutOfMemory exception, even though there is plenty of memory available on the machine. The VB6 memory space is also no where near it's limit.
Does the .NET side keep a separate memory pool? Or is it apart of the VB6 app's memory pool?
If it is separate, is there a way to see how big it is? The only huge memory items in my Task Manager are SQL Server and the VB6 app (both expected).
This doesn't happen too often, but when it does, it's hard to pin down why the system won't allocate more memory.