close
Warning:
Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Aug 3, 2010, 11:01:55 PM (15 years ago)
- Author:
-
Víctor de Buen Remiro
- Comment:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
-
-
Property
Status
changed from
new
to
accepted
-
initial
|
v1
|
|
1 | | |
2 | 1 | Estou com o seguinte problema, tento gravar um Set de 700.000 linhas (um exemplo pode ser gerado pelo código abaixo): |
3 | | |
| 2 | {{{ |
4 | 3 | Set segmentos = [[ [["co_cliente";"id_cluster";"dt_inicio";"dt_fim"]] ]]<< |
5 | 4 | For(1, 700000, Set(Real x){ |
6 | 5 | [[IntText(x), IntText(x), IntText(x), IntText(x)]] |
7 | 6 | }) |
8 | | |
| 7 | }}} |
9 | 8 | Se eu tento gravar usando BDTFile, um set com a mesma quantidade de linhas me é retornado, mas nenhum arquivo é gravado. |
10 | 9 | |
11 | 10 | Se eu tento com o código abaixo, após um tempo o tol cai. |
12 | | |
| 11 | {{{ |
13 | 12 | Text tempFile = "C:/TempFileCluster.txt"; |
14 | 13 | Text WriteFile(tempFile, "co_cliente;id_cluster;dt_inicio;dt_fim"+NL); |
… |
… |
|
16 | 15 | AppendFile(tempFile, TxtListItem(line, ";")+NL) |
17 | 16 | }); |
18 | | |
| 17 | }}} |