A
anand
hi,
i am fetching data from database using dataadaptor
and filling up a dataset. i checked memory usage of
the app, and it consumes 50 Mb of RAM for the given
amount of data. that is, i checked the memory occupied
by the app before and after fetching data.
i saved the same amount of data in plain comma separated
text file, which occupied 4Mb! i saved the same data in
XML format on HDD and that file occupied 20Mb.
Now, it seems that maintaining data in dataset invoke
heavy memory usage. Is there any way that i can decrease
this memory usage ? please do not advise on maintaining
a refcursor and fetching data part by part. i mean my
requirment is different. i need to fetch all the data
at one go.
i guess many people might have faced this problem,
which seems to be due to the overhead of maintaining
data by dataset in memory.
anand
--
i am fetching data from database using dataadaptor
and filling up a dataset. i checked memory usage of
the app, and it consumes 50 Mb of RAM for the given
amount of data. that is, i checked the memory occupied
by the app before and after fetching data.
i saved the same amount of data in plain comma separated
text file, which occupied 4Mb! i saved the same data in
XML format on HDD and that file occupied 20Mb.
Now, it seems that maintaining data in dataset invoke
heavy memory usage. Is there any way that i can decrease
this memory usage ? please do not advise on maintaining
a refcursor and fetching data part by part. i mean my
requirment is different. i need to fetch all the data
at one go.
i guess many people might have faced this problem,
which seems to be due to the overhead of maintaining
data by dataset in memory.
anand
--