I want load a DataBase of IMDB in memory found at this adress
https://datasets.imdbws.com/
I choose "title.basics.tsv.gz" and uncompress it, it's a TXT
The size of this txt is 775 MO
I run this code
Code: Select all
Fichier$ = "D:\Title.basics du 221004.tsv"
Canal = ReadFile(#PB_Any, Fichier$, #PB_UTF8)
If Canal
TailleFichier = Lof(Canal)
*Ptr = AllocateMemory(TailleFichier)
ReadData(Canal, *Ptr, TailleFichier)
Donnee$ = PeekS(*Ptr, TailleFichier, #PB_UTF8)
FreeMemory(*Ptr)
CloseFile(Canal)
Else
MessageRequester("Erreur fichier", "Le fichier" + #CRLF$ + Fichier$ + #CRLF$ + "n'a pu être ouvert.")
EndIf
Someone know why and how i can load this file ?
Have a good day