jonnyt
February 26th, 2003, 12:43 AM
I just recently installed Visual Studio .NET and I am trying to run a program that worked fine before...
I cannot allocate more than 16 bytes on the heap.
If I go:
new int[5] I get a nomem exception, but
new int[4] works.
However
new int[4] ... new int[1] throws an exception.
This is the first memory I allocate. If I try to allocate more than 16 bytes on the heap at all I run out of memory. However I have 128MB on my system, and I had no trouble allocating before I install VC++ 7. Plus, I can allocate as much space as I want on the stack, with not problem.
I am at my wits end. I cannot find any reason for this problem to occur. I hope someone will have some knowledge?
-Jonny T
I cannot allocate more than 16 bytes on the heap.
If I go:
new int[5] I get a nomem exception, but
new int[4] works.
However
new int[4] ... new int[1] throws an exception.
This is the first memory I allocate. If I try to allocate more than 16 bytes on the heap at all I run out of memory. However I have 128MB on my system, and I had no trouble allocating before I install VC++ 7. Plus, I can allocate as much space as I want on the stack, with not problem.
I am at my wits end. I cannot find any reason for this problem to occur. I hope someone will have some knowledge?
-Jonny T