Discussion:
Virtual memory Problem while using MSXML 4.0 SP2 for reading and writing XML
(too old to reply)
Maansi Sanghi
2005-06-30 15:21:43 UTC
Permalink
Hello.,

Development Environment
-Visual C++ 6.0
-MSXML 4.0 Service Pack 2

I am using MSXML extensively in my application for both reading and writing
xml files.
The application is a multithreaded application.

(1) I have a server application which runs in a 24 x 7 environment. The
server reads through XML files usinf SAX and also does extensive writing
using IMXWriter Interface.

(2) After about 5 to 6 hours the machine startes complaining of virtual
memory problem. This happens even when Free Disk Space is more than 2 G.B.

(3) I have read a afew articles in MSDN which mention memory leaks that were
fixed in msxml 4.0 SP2, which as i have mentioned is what we are using.

(4) Following are the observations
a) The application has no memory leaks
b) The peak memory usage is very high , goes up to 1,44,000K
c) The No. of handles used by the application is also high,
around 430

Any help in this regard would be greatly appreciated. A lot of research has
gone into this but i have been unable to get to the problem.
Is anyone aware of issues with using MSXML in a server environment?
any known bugs for leaking resource handles?


Thanks Regards,
Maansi
vprashanth
2007-04-24 15:25:11 UTC
Permalink
Post by Maansi Sanghi
Hello.,
Development Environment
-Visual C++ 6.0
-MSXML 4.0 Service Pack 2
I am using MSXML extensively in my application for both reading and writing
xml files.
The application is a multithreaded application.
(1) I have a server application which runs in a 24 x 7 environment. The
server reads through XML files usinf SAX and also does extensive writing
using IMXWriter Interface.
(2) After about 5 to 6 hours the machine startes complaining of virtual
memory problem. This happens even when Free Disk Space is more than 2 G.B.
(3) I have read a afew articles in MSDN which mention memory leaks that were
fixed in msxml 4.0 SP2, which as i have mentioned is what we are using.
(4) Following are the observations
a) The application has no memory leaks
b) The peak memory usage is very high , goes up to 1,44,000K
c) The No. of handles used by the application is also high,
around 430
Any help in this regard would be greatly appreciated. A lot of research has
gone into this but i have been unable to get to the problem.
Is anyone aware of issues with using MSXML in a server environment?
any known bugs for leaking resource handles?
Thanks Regards,
Maansi
hi mansi,
same problem is with me.
can u please give me is there solution available.

BizTalk Utilities - Frustration free BizTalk Adapters
http://www.topxml.com/biztalkutilities

Loading...