S skipper Member Licensed User Dec 18, 2010 #1 Hello all I'm trying to load a 21Mb .csv (33 fields) file into a table using the following lines Code: Sub Globals 'Declare the global variables here. xSrcPath = AppPath & "\Source" End Sub Sub App_Start Form1.Show End Sub Sub Button1_Click tblTemp.Clear tblTemp.LoadCSV(xSrcPath & "\" & "hugefile.csv", ";", True,True) End Sub The .csv loading stops with the "System.OutOfMemoryException" error. The strange thing is that sometimes the program loads the full table, other times it stops at different record.... Is there any memory limitation on table component? Any suggestion is welcome. Many thanks skipper
Hello all I'm trying to load a 21Mb .csv (33 fields) file into a table using the following lines Code: Sub Globals 'Declare the global variables here. xSrcPath = AppPath & "\Source" End Sub Sub App_Start Form1.Show End Sub Sub Button1_Click tblTemp.Clear tblTemp.LoadCSV(xSrcPath & "\" & "hugefile.csv", ";", True,True) End Sub The .csv loading stops with the "System.OutOfMemoryException" error. The strange thing is that sometimes the program loads the full table, other times it stops at different record.... Is there any memory limitation on table component? Any suggestion is welcome. Many thanks skipper
Erel B4X founder Staff member Licensed User Longtime User Dec 19, 2010 #2 There is no specific limit to table control. However there are limits related to any process. You should convert your csv file to a SQL table. It will be much faster and more reliable.
There is no specific limit to table control. However there are limits related to any process. You should convert your csv file to a SQL table. It will be much faster and more reliable.
S skipper Member Licensed User Dec 21, 2010 #3 Hello Erel that was exactly what I was trying to do ... the subsequent command should have been con.CreateSQLTable(...) Anyway, I converted the csv into a sql table with an external program... Thanks skipper
Hello Erel that was exactly what I was trying to do ... the subsequent command should have been con.CreateSQLTable(...) Anyway, I converted the csv into a sql table with an external program... Thanks skipper
M mjcoon Well-Known Member Licensed User Dec 21, 2010 #4 skipper said: Anyway, I converted the csv into a sql table with an external program. Click to expand... What program, please? (I am contemplating converting to SQL too.) Mike.
skipper said: Anyway, I converted the csv into a sql table with an external program. Click to expand... What program, please? (I am contemplating converting to SQL too.) Mike.
S skipper Member Licensed User Dec 22, 2010 #5 I used SQLite Expert Professional, IMO very easy and simple to use. Skipper
M mjcoon Well-Known Member Licensed User Dec 22, 2010 #6 skipper said: I used SQLite Expert Professional, IMO very easy and simple to use. Click to expand... Thanks for that. I'll give the freeware version a go, at least... Mike.
skipper said: I used SQLite Expert Professional, IMO very easy and simple to use. Click to expand... Thanks for that. I'll give the freeware version a go, at least... Mike.
S skipper Member Licensed User Dec 23, 2010 #7 I can't remember, but it seems to me that the freeware version does not have the import/export functionalities... Mimmo
I can't remember, but it seems to me that the freeware version does not have the import/export functionalities... Mimmo
M mjcoon Well-Known Member Licensed User Dec 23, 2010 #8 skipper said: I can't remember, but it seems to me that the freeware version does not have the import/export functionalities... Click to expand... Ah, the "Feature comparison" chart supports that recollection, so maybe I will be de-installing pronto... Mike.
skipper said: I can't remember, but it seems to me that the freeware version does not have the import/export functionalities... Click to expand... Ah, the "Feature comparison" chart supports that recollection, so maybe I will be de-installing pronto... Mike.
S skipper Member Licensed User Dec 23, 2010 #9 Sorry Mike, as I said, I can't remember, may be I'm wrong. I used the freeware version more o less one year ago, then I switched to the Pro... Merry Christmas and Happy New Year to you! Mimmo
Sorry Mike, as I said, I can't remember, may be I'm wrong. I used the freeware version more o less one year ago, then I switched to the Pro... Merry Christmas and Happy New Year to you! Mimmo