I try to find the limit for open databases using SQLite. On my MacBook Air, Mountain Lion, it is:
x86 (PB 4.61): 119, using about 32mb RAM
x64 (PB 4.7b1): 122, using about 52mb RAM
Anybody interested in helping here with Windows and Linux? Would be very nice of you
This code should create around 120 or so files inside the newly created folder.
Code: Select all
UseSQLiteDatabase()
CreateDirectory("test")
For i = 0 To 1000
a = CreateFile(#PB_Any,"test/" + Str(i))
b = OpenDatabase(#PB_Any,"test/" + Str(i),"","")
Next i
repeat
delay(1) ; to get CPU-load and RAM
forever
