A french guy has memory issues with PB 12, the memory is not deallocated after the garbagecollect call.
Here is the code to reproduce the problem:
Double t_1[], t_2[]
long ll_i
for ll_i = 1 to 50000000
t_1[ll_i] = 1
next
t_1 = t_2
garbagecollect()
During the loop, the memory is increasing but after clearing the variable and calling garbagecollect(), the memory is still used.
The guy must exit the application to free the memory.
He tried with a fixed size array but PB does not allow 50 millions records in an array.
Any suggestion?
Link in french:
PowerBuilder � Donf ! / Comment lib�rer compl�tement la m�moire avec PB