Memory Problem each TMyDataset 8 MB
Posted: Tue 07 Dec 2004 10:23
I am working with the C++ Builder 6 and MyDac Component 2.0.
After my application is started 170MB memory are used and from this 170MB use the TMyDataSet components 125MB. I don't have a huge project and I want to ask if 8MB for each TMyDataSet is normal?
I tested it in that way that I set all TMyDataSet components incative. Start the debugger and step over each line like
TMyDataSet->Active = true;
And after each Active = true; 8MB are gone to my app.
It is a small database with few tables and if you have e.g. 20 TMyDatSet it would mean that the application needs only for Db connection 160MB which will not work if you want to create a app for standard business with 50-60 tables.
Thanks for your help
After my application is started 170MB memory are used and from this 170MB use the TMyDataSet components 125MB. I don't have a huge project and I want to ask if 8MB for each TMyDataSet is normal?
I tested it in that way that I set all TMyDataSet components incative. Start the debugger and step over each line like
TMyDataSet->Active = true;
And after each Active = true; 8MB are gone to my app.
It is a small database with few tables and if you have e.g. 20 TMyDatSet it would mean that the application needs only for Db connection 160MB which will not work if you want to create a app for standard business with 50-60 tables.
Thanks for your help