A
Andrzej
Used to read newsgroup for answers, now have to ask for them as well.
I have an application (C#, .NET 1.1) that connects to local db on MSDE
2000 SP3a (using ADO from MDAC 2.71) on one side and to a web service
on the other (not relevant I guess). Some stored procedures consume
xml produced by DataSet objects (values as elements) using OPENXML
statements.
The application should be distributed among users having also Win98.
Established that I require min 128 MB of physical memory to run it.
However on Win98 I need to set 'min server memory' value to 128
otherwise even small OPENXML statement, which is first in the
application lifecycle (so I could not have missing sp_xml_removedocs
statments before) ends up with an error 'server memory low, use
sp_xml_removedocument ...'. It turns out that users having even 256MB
get that error as well, when larger XML is consumed by MSDE. That I
could understand, but I managed to configure application to run on
Win98 with 128MB!!! Only after some time users started to receive that
errors, and even restarts and running the application without any
other applications running at the same time, didn't help. What could
have changed in memory management assuming no other apps were
installed?
Tried setting up 'min memory per query' to even 32MB; tried to set up
'min/max server memory' to 128 (and more); tried to set up 'min/max
server memory' and 'set working set size' to 1 (it should reserve
memory for SQLserver process). I used 'reconfigure' statments and
performed restarts after having set above values as well.
Is there any other way I could force Win98 to give memory to MSDE or
to parsuade xml parser to be more memory efficient?
What I also know:
- MSDE instllation does not have msxml2.dll, so I included it in my
installation package (downloaded msxml2.msi from Microsoft with dll
file ver 8.30.9523.0, looks pretty new to me)
- XML parser in MSDE 2000 (any SQL 2000) uses 1/8 of memory available
for SQLserver, and that value cannot be changed (or can it?)
- MSDE 2000 cannot use XML other than MSXML2, and nothing can change
it, so I guess no help comes from MSXML upgrade
- XML parser uses A LOT of memory, and can consume several times more
memory that XML size
- memory management in Win98 sucks, but I cannot leave Win98 out of my
application distribution list
If you got that far in my post, thanx for that.
Rgds, Andrzej
I have an application (C#, .NET 1.1) that connects to local db on MSDE
2000 SP3a (using ADO from MDAC 2.71) on one side and to a web service
on the other (not relevant I guess). Some stored procedures consume
xml produced by DataSet objects (values as elements) using OPENXML
statements.
The application should be distributed among users having also Win98.
Established that I require min 128 MB of physical memory to run it.
However on Win98 I need to set 'min server memory' value to 128
otherwise even small OPENXML statement, which is first in the
application lifecycle (so I could not have missing sp_xml_removedocs
statments before) ends up with an error 'server memory low, use
sp_xml_removedocument ...'. It turns out that users having even 256MB
get that error as well, when larger XML is consumed by MSDE. That I
could understand, but I managed to configure application to run on
Win98 with 128MB!!! Only after some time users started to receive that
errors, and even restarts and running the application without any
other applications running at the same time, didn't help. What could
have changed in memory management assuming no other apps were
installed?
Tried setting up 'min memory per query' to even 32MB; tried to set up
'min/max server memory' to 128 (and more); tried to set up 'min/max
server memory' and 'set working set size' to 1 (it should reserve
memory for SQLserver process). I used 'reconfigure' statments and
performed restarts after having set above values as well.
Is there any other way I could force Win98 to give memory to MSDE or
to parsuade xml parser to be more memory efficient?
What I also know:
- MSDE instllation does not have msxml2.dll, so I included it in my
installation package (downloaded msxml2.msi from Microsoft with dll
file ver 8.30.9523.0, looks pretty new to me)
- XML parser in MSDE 2000 (any SQL 2000) uses 1/8 of memory available
for SQLserver, and that value cannot be changed (or can it?)
- MSDE 2000 cannot use XML other than MSXML2, and nothing can change
it, so I guess no help comes from MSXML upgrade
- XML parser uses A LOT of memory, and can consume several times more
memory that XML size
- memory management in Win98 sucks, but I cannot leave Win98 out of my
application distribution list
If you got that far in my post, thanx for that.
Rgds, Andrzej