Mail Archives: djgpp/1997/11/13/06:06:27
On Sun, 9 Nov 1997, Joshua Eckstein wrote:
> 1) How fast is the "new" operator as compared to "malloc"?
The answer is "it depends", and you can easily test this yourself.
> 2) I get a lot of " virtual memory exceeded in 'new' " errors since I
> installed CWSDPMI 4. Could anybody tell me, in general, what this
> is?
Not unless you post some more details. In particular, if your program
is short enough to be posted here, please do that. If not, try to
write a short program that exhibits the same problem and post it.
Failing all that, tell more about the way your program allocates
memory (how many calls to `new' does it take before it runs out of
memory?).
> It seems to be an ambiguous can't-find-file error (or at least I thought
> so).
Memory allocation has nothing to do with can't-find-file errors.
- Raw text -