1
Answer

Memory allocation failures

Photo of david 0

david 0

21y
4k
1
I have written a helper server DLL (int C++ 7.0) that internally does dynamic memory allocation via new. It runs great on my development server [2000], but crashes (new throws an exception) on my production server [2003 Advanced]. I am not talking about much memory. I am tring to get a total of about 50K [in up to twelve calls]. It crashes on the production server at about 10K. Any help greatly appreciated.

Answers (1)

1
Photo of david 0
NA 190 0 21y
UPDATE: I have reworked the code to totally use static memory allocation. My initial statement was wrong. It DOES fail with static memory allocation. Now at least the error is a clean "Not Enoguh Storage is Available to Complete the Operation". Question: What needs to be changed on the server??????