Hi,
I am having "Out Of Memory" problem with my program.I am using Borland C++ 5.0.
I have an MySQL type database and trying to access one of its tables.The table which I am trying to access (activate) is around 450 Mbyte.Here is my sample code which gives error:
TTable *Table_Test;
Table_Test = (TTable*)(new TMyTable(this));
// ------ connect tables to CDR Database -------
((TMyTable*)Table_Test)->Connection = ptMySqlDatabase;
((TMyTable*)Table_Test)->TableName = "test";
Table_Test->IndexName = "Frame";
Table_Test->Active = true;
At the last line (Table_Test->Active = true;) I get "Out Of Memory" exception error.I have checked with "Windows task Manager",memory usage (Commit Charge) is increasin when program comes to that point and after about 2000Mbyte it raises error.
Do you have any idea to overcome this problem?
Thanks.