G
Guest
Hi,
In my application I have text(flat) file as input and I have to generate
an XML file. The maximum input text file size can be 900MB and gererated xml
may result 2+ GB.
Based on the first column value from the text file, the row will be moved to
any of those 23 DataTable which are created onfly.
For eg.
01;- data for Table 1-
02;- data for Table 2-
03;- data for Table 3-
04;- data for Table 4-
04;- data for Table 4-
04;- data for Table 4-
04;- data for Table 4-
04;- data for Table 4-
Based on the child relation, I have to create XML node, after stripping the
parent-child relation column.
I am using XmlTextWriter to write the xml data, which are fetched from
tables based on select with different condition.
The server uses 2GB RAM memory
When the application process a 500MB file, it throws OutOfMemoryException.
In the task manager, the utilised memory when the system throws
OutOfMemoryException is 2.15 GB.
But in my desktop, for the surprise, the system has 512 MB and when I load
several application, the process memory reached 1GB without any
OutOfMemoryException issues.
Can you one help me in this regard.
Thanks in advance
With Regards
venkatg
In my application I have text(flat) file as input and I have to generate
an XML file. The maximum input text file size can be 900MB and gererated xml
may result 2+ GB.
Based on the first column value from the text file, the row will be moved to
any of those 23 DataTable which are created onfly.
For eg.
01;- data for Table 1-
02;- data for Table 2-
03;- data for Table 3-
04;- data for Table 4-
04;- data for Table 4-
04;- data for Table 4-
04;- data for Table 4-
04;- data for Table 4-
Based on the child relation, I have to create XML node, after stripping the
parent-child relation column.
I am using XmlTextWriter to write the xml data, which are fetched from
tables based on select with different condition.
The server uses 2GB RAM memory
When the application process a 500MB file, it throws OutOfMemoryException.
In the task manager, the utilised memory when the system throws
OutOfMemoryException is 2.15 GB.
But in my desktop, for the surprise, the system has 512 MB and when I load
several application, the process memory reached 1GB without any
OutOfMemoryException issues.
Can you one help me in this regard.
Thanks in advance
With Regards
venkatg